A unit- and integration-testing framework that stores test data in any kind of text files and is based on JUnit. The core focus of Xpect is on testing Xtext languages and supporting the process of designing Xtext languages.
Go to http://www.xpect-tests.org (and look for an Eclipse update-site).
Prerequisite: Java 1.6 or newer; Eclipse 3.8 or 4.2 or newer; Xtext 2.4.
- Clone https://github.com/meysholdt/Xpect (this repository)
- Clone https://github.com/meysholdt/eclipse_jdt_junit_runners
- Clone https://github.com/meysholdt/xtext_stateful_lexer
- Import all projects from all repositories into your workspace.
- Run /org.xpect/src/org/xpect/GenerateXpect.mwe2. Now your projects should be without errors markers.