Changes between Version 18 and Version 19 of DeveloperGuidelines/Testing


Ignore:
Timestamp:
10/02/14 12:15:11 (7 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing

    v18 v19  
    5454It 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.
    5555
     56Cautionary notes on Unit Testing:
     57* http://pythontesting.net/strategy/why-most-unit-testing-is-waste/#more-19205
    5658===  Role Tests ===
    5759Role 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: