Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.04 KB

README.md

File metadata and controls

44 lines (33 loc) · 2.04 KB

XFactory

An Embedded DSL (EDSL) into Xtend to build POJOs and persist entities.

Documentation

Download

  • Using Maven
<dependency>
	<groupId>com.github.borisbrodski</groupId>
	<artifactId>xfactory</artifactId>
	<version>0.0.2</version>
</dependency>

Integration into your test environment

  • 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.