Kenneth Love avatar Kenneth Love committed 8f03af1

next update

Comments (0)

Files changed (1)


 3. Dealing with increasingly complex test scenarios
     * Separate code and service/infrastructure testing
     * Don't keep all the tests in one ``
-    * 
+    * Use sub-module and root `` files sparingly.
+    * Give Mock ( a try.
+4. Beyond the business logic
+    * Testing 3rd party APIs or cache
+    * These should be tested separately
+        * Better speed of tests if you're not constantly making outbound calls.
+    * Dealing with cache:
+        * Dev env doesn't usually have long-term or complete sets of cached data.
+        * Cache should be agnostic to model changes.
+        * Do object structure comparison when pulling from cache.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.