From: W. Trevor King Date: Thu, 27 Jun 2013 11:37:55 +0000 (-0400) Subject: testing/cheat-sheet.md: Split Nose-specific stuff into nose/cheat-sheet.md X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c6b8e37068233ee5e23816d5b3f228cc13d947b;p=swc-testing-nose.git testing/cheat-sheet.md: Split Nose-specific stuff into nose/cheat-sheet.md --- diff --git a/testing/cheat-sheet.md b/testing/cheat-sheet.md index dbc03e0..0e9060a 100644 --- a/testing/cheat-sheet.md +++ b/testing/cheat-sheet.md @@ -33,18 +33,3 @@ Assertions * syntax * stops execution - -Unittest --------- - -* extending TestCase -* assertions, e.g. self.assertEquals - -Nose ----- - -* invocation: nosetests -* naming conventions: test_* -* fixtures: setup -* per-test fixtures with @with_setup decorator -* assertions, e.g. assert_equal, assert_almost_equal... diff --git a/testing/nose/cheat-sheet.md b/testing/nose/cheat-sheet.md new file mode 100644 index 0000000..fcfbb2f --- /dev/null +++ b/testing/nose/cheat-sheet.md @@ -0,0 +1,14 @@ +Unittest +-------- + +* extending TestCase +* assertions, e.g. self.assertEquals + +Nose +---- + +* invocation: nosetests +* naming conventions: test_* +* fixtures: setup +* per-test fixtures with @with_setup decorator +* assertions, e.g. assert_equal, assert_almost_equal...