Skip to content

borisbrodski/xfactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.