Kenneth Love avatar Kenneth Love committed e1beef8

first chunk. wow she goes fast

Comments (0)

Files changed (1)

docs/testing_the_developer_strikes_back.rst

 ===================================
 Testing: The Developer Strikes Back
 ===================================
+
+1. Testing is hard to do right.
+    * Delegate test responsibilities correctly.
+    * Won't (always) get it right on the first try.
+
+2. Unit test organization strategies for Django projects
+
+.. note::What is "Unit Testing"? A method by which individual units of source code are tested.
+
+    * Each app needs it's own test module.
+        * Each module should have (many) submodules.
+            * Each contains classes that test units of code.
+
+    * Organize your test suite however you want
+        * Just be consistent.
+
+3. Dealing with increasingly complex test scenarios
+    * Separate code and service/infrastructure testing
+    * Don't keep all the tests in one `tests.py`
+    * 
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 ProjectModifiedEvent.java.
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.