An Embedded DSL (EDSL) into Xtend to build POJOs and persist entities.
-
Version 0.0.2
-
Version 0.0.1
- Using Maven
<dependency>
<groupId>com.github.borisbrodski</groupId>
<artifactId>xfactory</artifactId>
<version>0.0.2</version>
</dependency>
- Direct download
- Before each test: call
XFactory.initTest(...)
providing an instance of your infrastructure provider. - After each test: call
XFactory.doneTest()
- Add
XFactoryExtension
class to your Xtend extension imports with one of the following ways- Add
import static extension ...XFactoryExtension.*
to each of your Xtend test classes - Extend your JUnit Rule or abstract test class from the
XFactoryExtension
class.
- Add