Skip to content

Commit feaca36

Browse files
committed
Flushed out a bunch of other testing topics that need to be written about.
1 parent 42cdc26 commit feaca36

9 files changed

+54
-2
lines changed

basic_doctest.rst basic_doctests.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _basic_doctests:
12

23
Introduction to Python/Django testing: Basic Doctests
34
-----------------------------------------------------

basic_unittests.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _basic_unittests:
12

23
Introduction to Python/Django testing: Basic Unit Tests
34
-------------------------------------------------------

index.rst

+17-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,26 @@ If you want to help contribute, please fork the docs and help out! Hopefully thi
1313

1414
Contents:
1515

16+
Mostly Complete docs
17+
--------------------
1618
.. toctree::
1719
:maxdepth: 2
18-
:glob:
1920

20-
*
21+
basic_doctests
22+
basic_unittests
23+
fixtures
24+
views
25+
26+
Unfinished docs
27+
---------------
28+
.. toctree::
29+
:maxdepth: 2
30+
31+
models
32+
mock_objects
33+
template_tags
34+
philosophy
35+
part5_official_tutorial
2136

2237

2338
Indices and tables

mock_objects.rst

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. _mock_objects:
2+
3+
4+
Testing Using Mock Objects
5+
=============================================
6+
7+
Which mock library should I use?
8+
--------------------------------

models.rst

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. _models:
2+
3+
4+
Testing Django Models
5+
=============================================
6+
7+
Should I use doctests or unit tests?
8+
------------------------------------

part5_official_tutorial.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _part5_official_tutorial:
12

23
Django Tutorial Part 5: Testing
34
=============================================

philosophy.rst

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. _philosophy:
2+
3+
4+
Django Testing Philosophy
5+
=============================================
6+
7+
What is the philosophy behind testing in Django?
8+
------------------------------------------------

template_tags.rst

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _template_tags:
2+
3+
4+
Testing Template Tags
5+
=============================================
6+
7+
Should I use doctests or unit tests?
8+
------------------------------------
9+

views.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _views:
12

23
Practical Django Testing Examples: Views
34
----------------------------------------

0 commit comments

Comments
 (0)