From 5c6b8e37068233ee5e23816d5b3f228cc13d947b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 27 Jun 2013 07:37:55 -0400 Subject: [PATCH] testing/cheat-sheet.md: Split Nose-specific stuff into nose/cheat-sheet.md --- testing/cheat-sheet.md | 15 --------------- testing/nose/cheat-sheet.md | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 testing/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... -- 2.26.2