JUnit testing

347 views
Skip to first unread message

Karl Kuhrman

unread,
Aug 14, 2015, 11:35:50 AM8/14/15
to iDempiere
I've only recently started looking through the iDempiere projects and have noticed a curious absence of JUnit tests/suites in most of the projects. Am I overlooking something or are these simply not included in the code pushed to bitbucket? My search for JUnit in this forum yielded three unrelated posts.

xolali

unread,
Aug 24, 2015, 1:54:59 AM8/24/15
to iDempiere
Hi Karl,
As far as i know JUnit is not used in the core and we are not using a test driven development approach although there is integration with selenium for UI testing.
What is your background and what are your interests. There are many interesting improvements you could contribute to.

Xolali

redhuan d. oon

unread,
Sep 6, 2015, 1:33:46 AM9/6/15
to iDempiere
Hi Karl,
For ERP, we have a more functional and enterprise approach to testing. Perhaps this project documentation can help illustrate. http://red1.org/adempiere/viewtopic.php?f=45&t=1777
It has a steep but short learning curve to set up (if you are willing to read all the links), but very powerful in its usage.
If need be, please do ask further and i will keep track of this googlegroup thread. (No need to ask at that project link as I can back link here from there to keep it as a reference material).

Neil Gordon

unread,
Feb 29, 2016, 3:54:47 AM2/29/16
to iDempiere
Recommendations regarding testing in iDempiere from experience?

I see in Red1's post above, he recommends using Fitnesse. I don't have any experience with this kind of testing. Is it better than JUnit testing?

Someone else mentioned JMeter.

I see there are example tests in the org.adempiere.extend plugin. 

If anyone wouldn't mind sharing their experience, it would be appreciated.

References:

Dirk Niemeyer

unread,
Feb 29, 2016, 5:36:45 AM2/29/16
to idem...@googlegroups.com
Hi Neil,

please have a look at the transcript of last years workshop

http://wiki.idempiere.org/en/IDempiere_workshop_2015/transcript#Third_day_-_Wednesday

There is a section on experience with testing using different aproaches. HTH

Regards,

Dirk Niemeyer

Neil Gordon

unread,
Feb 29, 2016, 9:12:31 AM2/29/16
to iDempiere
Hi Dirk,

http://wiki.idempiere.org/en/IDempiere_workshop_2015/transcript#Third_day_-_Wednesday 

Many thanks for the link, there is some useful information there.

Do you have any experience to add?

Regards,

Neil

redhuan d. oon

unread,
Feb 29, 2016, 5:00:09 PM2/29/16
to iDempiere
Hi Neil
FitNesse is very powerful and easy once mastered, particularly when you use The Recorder:  see page 16 of http://red1.org/iDempiereFitNesse.pdf.
If you any difficulty in any part, just contact me via our usual Skype I be happy to help you along. :)

Neil Gordon

unread,
Mar 1, 2016, 5:39:39 AM3/1/16
to iDempiere
Hi Red1,

Your document looks great!  I will study it in more detail, and speak to you if I have questions, or give feedback here.

-----
Neil Gordon
nTier Software Services
Twitter: @ngordon7000

Neil Gordon

unread,
Mar 3, 2016, 6:39:03 AM3/3/16
to iDempiere
Something worthwhile adding:-

One thing that wasn't clear from the transcript, is that there are reports of people using JMeter not just for load testing, but to test iDempiere from the front end.

The feedback, from what I hear, regarding JMeter is very positive.


On Monday, February 29, 2016 at 12:36:45 PM UTC+2, a42niem wrote:
Reply all
Reply to author
Forward
0 new messages