From a163968b278cd97e57497a7a604f44d38016f0e6 Mon Sep 17 00:00:00 2001 From: Stephan Gabler Date: Mon, 21 May 2012 21:07:54 +0200 Subject: [PATCH] add testing scaffold, #28 --- test_jrnl.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 test_jrnl.py diff --git a/test_jrnl.py b/test_jrnl.py new file mode 100644 index 00000000..8280fe6e --- /dev/null +++ b/test_jrnl.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# encoding: utf-8 + +import unittest + +class TestClasses(unittest.TestCase): + """Test the behavior of the classes. + + tests related to the Journal and the Entry Classes which can + be tested withouth command-line interaction + """ + + def setUp(self): + pass + + def test_colon_in_textbody(self): + """colons should not cause problems in the text body""" + pass + + +class TestCLI(unittest.TestCase): + """test the command-line interaction part of the program""" + + def setUp(self): + pass + + def test_something(self): + """first test""" + pass + + +if __name__ == '__main__': + unittest.main()