Unit tests should be encouraged, but not required.

I don't know what you mean by "When the OFBiz system was initially implemented this was already recognized that automated tests are required for a quality product." If you are referring to the OFBiz "product" then it is important to remember that unit tests were practically non-existent prior to 2007.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/6/2014 2:49 AM, Hans Bakker wrote:
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

Reply via email to