Overriding template Week.tpl

2024-06-10 Thread Sankatha Bamunuge
 Hi All I’m very new to OfBiz so apologies in advance if I’m asking something obvious. I started developing my own theme sub themed off the common-theme. There is a template called Week.tpl under workeffort component. How do I override this template in my custom theme?. All your help is much

Re: Unit testing for a custom module

2024-06-10 Thread Carsten Schinzer
Hello Gaetan, I do all this as you describe, source path for tests is as required and tests are properly annotated. The main difference is that this is not a unit test out of a framework, but unit tests sitting in a plugin component. I so not see any traces of the framework stepping into my

Re: Unit testing for a custom module

2024-06-10 Thread Gaetan
Hi again, After some research, it seems you should follow this kind of structure for your unit tests : https://github.com/apache/ofbiz-framework/blob/7c2487bc3f1a6ec472585c27d7ceb5ca19471387/build.gradle#L259 So you should setup your tests at the right package (either groovy or java

Re: Unit testing for a custom module

2024-06-10 Thread Carsten Schinzer
… and after some more assertions, I can add: I have verified the paths to all my test suites to point to the correct Java classes. I do not find any error in the test logs. I do find the classes in the build/classes/java/test directory. I do not find related test results at all. An hint you can

Re: Unit testing for a custom module

2024-06-10 Thread Carsten Schinzer
Hello, You mean like this:

Re: Unit testing for a custom module

2024-06-10 Thread Gaetan
Hi Carsten, did you include your tests in the ofbiz-component file a the root of your plugin ? Best regards Gaetan On 6/9/24 21:15, Carsten Schinzer wrote: Hello all, I am looking for a reference to integrate my plugin unit tests into the test run of OfBiz, i.e. when I run ./gradlew