Comment 1 for bug 1414829

Revision history for this message
Guangya Liu (Jay Lau) (jay-lau-513) wrote :

Ya, I mean, I want to separate one test method to ideally contains one assert call.

for example:

Bad Pattern:

  def test():
     assert_equals(a, b)
     assert_equals(c, d)

Good Pattern:

   def test_a_b():
     assert_equals(a, b)

  def test_c_d():
     assert_equals(c, d)