comparison examples/README.TXT @ 9:35178e70f1cd

urls support in testcase objects
author Victor Ng <victor@monkeybean.ca>
date Thu, 28 Aug 2008 13:33:58 -0400
parents 8d0793b2358b
children
comparison
equal deleted inserted replaced
8:a82369f2574e 9:35178e70f1cd
25 * docstrings in models 25 * docstrings in models
26 26
27 --- Sample test run below --- 27 --- Sample test run below ---
28 28
29 C:\dev\nosedjango\examples\project>nosetests -v --with-django --with-doctest --doctest-tests --doctest-tests 29 C:\dev\nosedjango\examples\project>nosetests -v --with-django --with-doctest --doctest-tests --doctest-tests
30 doctest: project.zoo.models.zoo ... ok 30
31 Doctest: project.zoo.models.Zoo ... ok
31 Doctest: project.zoo.models.Zoo.__str__ ... ok 32 Doctest: project.zoo.models.Zoo.__str__ ... ok
32 Doctest: project.zoo.models.func ... ok 33 Doctest: project.zoo.models.func ... ok
33 This is just a stub for a regular test method ... ok 34 This is just a stub for a regular test method ... ok
34 Doctest: project.zoo.test_doctest_modules.test_docstring ... ok 35 Doctest: project.zoo.test_doctest_modules.test_docstring ... ok
35 Doctest: project.zoo.test_doctest_modules.test_docstring ... ok 36 Doctest: project.zoo.test_doctest_modules.test_docstring ... ok
36 project.zoo.test_fixtures.TestFixture1.test_count ... ok 37 project.zoo.test_fixtures.TestFixture1.test_count ... ok
37 project.zoo.test_fixtures.TestFixture2.test_count ... ok 38 project.zoo.test_fixtures.TestFixture2.test_count ... ok
38 project.zoo.test_race.TestDBRace1.test1 ... ok 39 project.zoo.test_race.TestDBRace1.test1 ... ok
39 project.zoo.test_race.TestDBRace2.test1 ... ok 40 project.zoo.test_race.TestDBRace2.test1 ... ok
40 project.tests.test_views.test_view_index ... ok 41 We're customizing the ROOT_URLCONF with zoo.urls, ... ok
42 We're using the standard ROOT_URLCONF, so we need to ... ok
43 testcase1 (project.zoo.tests.TestDjango) ... ok
44 testcase2 (project.zoo.tests.TestDjango) ... ok
41 45
42 ---------------------------------------------------------------------- 46 ----------------------------------------------------------------------
43 Ran 11 tests in 0.859s 47 Ran 14 tests in 1.219s
44 48
45 OK 49 OK
46 Destroying test database... 50 Destroying test database...
47 51
48 C:\dev\nosedjango\examples\project> 52