ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bakker <mailingl...@antwebsystems.com>
Subject Proposal: Mandatory JUnit tests for new functions
Date Mon, 06 Oct 2014 01:49:47 GMT
Good morning,

If you are following the relatively new developments in software 
development you will be aware of continuous integration or the next 
step: continuous deployment. This is all part of the 'continuous 
improvement' principle.
When the OFBiz system was initially implemented this was already 
recognized that automated tests are required for a quality product.

Therefore my proposal that:
1. New functions must have automated tests in the same commit in order 
to be considered for the trunk.
2. Existing functions which are extended will need a JUnit test the same 
as new functions.
3. The introduction of a test framework for on-line screens which can 
run in batched mode.
4. Reporting of an error should be done by providing an automated test 
which shows the error.

You might want to read an article I wrote on this subject with at the 
end links to the originators of this principle:
https://www.linkedin.com/pulse/article/20140909060033-1227556-upgrade-your-erp-system-like-a-phone-app

So please let me know what you think?

Regards,Hans


Mime
View raw message