#32602: Clarify wording re: parallel testing and test case vs. test case class
-------------------------------------+-------------------------------------
     Reporter:  Chris Jerdonek       |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Testing framework    |                  Version:  3.1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 Maybe I have a faulty understanding of what you're trying to say, but for
 example:
 {{{ #!python
 class TestStringMethods(unittest.TestCase):
     def test_upper(self):
         self.assertEqual('foo'.upper(), 'FOO')
 }}}
 I would call `TestStringMethods` a test case and `test_upper` a test
 method. My impression is that you would call `test_upper` a test case? (If
 so, what's a test method?)

 Under my definitions, I do think the unittest docs are confusing because a
 test method seems more like an "individual unit of testing" than a test
 case.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32602#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.bb982127623a03a8fb9c45c1544faf3f%40djangoproject.com.

Reply via email to