fenix-framework / fenix-framework

A framework to develop enterprise applications that need transactions, persistence, and a rich domain model.
http://fenix-framework.github.io
GNU Lesser General Public License v3.0
39 stars 21 forks source link

Support standard test location #219

Closed diutsu closed 7 years ago

diutsu commented 7 years ago

Currently when running tests only the dml files on /src/test/dml are read, this leads to a creation of a second module to only hold the tests. This is not standard, the tests are not run automatically by CI tools, leading to not running the tests at all.

First add /src/main/dml files when using TestDmlCodeGeneratorMojo.java to the code generator process. Secondly add the same dml files to the generated project.properties files on the /target directory to be recognized by the Framework during initialization