Changes between Version 18 and Version 19 of DeveloperGuidelines/Testing
- Timestamp:
- 10/02/14 12:15:11 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing
v18 v19 54 54 It can be a very powerful development strategy - especially for back-end APIs - to first implement unit test cases for the functionality you intend to implement before actually implementing it. Apart from preventing bugs, this helps you to validate your design against requirements, and to keep the implementation simple and focussed. Additionally, the test cases can be a rich source of code samples how to apply your API methods. 55 55 56 Cautionary notes on Unit Testing: 57 * http://pythontesting.net/strategy/why-most-unit-testing-is-waste/#more-19205 56 58 === Role Tests === 57 59 Role tests are used to check the permissions of user roles. Currently is limited to the IFRC (Red Cross) roles for RMS, but could be extended: