Changeset 12964
- Timestamp:
- 18 May 2015, 05:07:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/testing.rst
r12952 r12964 1 1 .. _testing: 2 2 3 Testing :sup:`in progress`4 ******* *******************3 Testing 4 ******* 5 5 6 6 Introduction … … 15 15 given sets of conditions and, only comprehensive testing ensures 16 16 that changing or customizing the code does not break existing 17 functionality. Why *automated* testing? Simply because no developer 18 likes to click around the user interface to check tons of 19 functionality. In Kofa more than 1300 tests, with dozens of actions 20 per test, are being executed each time when the testrunner is 21 started. This job can't be done manually. 17 functionality. 22 18 23 19 Why *automated* testing? Simply because no developer likes to click 24 around the user interface to check tons of functionality. In Kofa more25 than 1100 tests, with dozens of actions per test, are being executed 26 e ach time when the testrunner is started. This job can't be done27 manually.20 around the user interface to check tons of functionality. In Kofa 21 more than 1300 tests, with dozens of actions per test, are being 22 executed each time when the testrunner is started. This job can't be 23 done manually. 28 24 29 25 What we test: "Unit" and "Functional" Tests … … 77 73 When starting the development of Kofa, we relied on writing a 78 74 coherent documentation including doctests in restructured text 79 format. During the software development process the focus shifted75 format. During the software development process, the focus shifted 80 76 from doctesting to pure Python testing with a lot of functional 81 77 tests inside. It turned out that Python tests are easier to handle … … 186 182 :pyobject: test_suspended_officer 187 183 188 Th etest makes sure that a suspended officers can't login but see a184 This test makes sure that a suspended officers can't login but see a 189 185 proper warning message when trying to login. Furthermore, suspended 190 186 officer accounts are clearly marked and a warning message shows up 191 187 if a manager accesses a suspended account, see :ref:`Officers 192 188 <officers>`. 189 190 Further tests will follow soon.
Note: See TracChangeset for help on using the changeset viewer.