It would be very handy to be able to check that all tests succeed during a maven build.
This way we can let the build fail if tests fail, and we will really have continuous integration tests.

Cleaning a Core project with SPT tests will trigger:

11:49 | INFO  | o.m.c.build.Builder            - Building eclipse:///relations.tests
11:49 | INFO  | o.m.c.build.Builder            - Building 43 sources, 0 includes of language impl. org.metaborg:org.metaborg.meta.lang.spt:1.5.0-SNAPSHOT

If there are any errors in one of the SPT files they show up in the editor.

How hard would it be to make a maven execution target that just performs the building of SPT sources and gives a 0 or 1 as exit code based on whether there are any errors? (A full report on what tests succeed or fail would be better of course, but this would mainly serve as a smoke test until we have something like that.)

Submitted by Daco Harkes on 18 January 2016 at 12:12

On 10 June 2016 at 15:57 Gabriƫl Konat removed tag @gohla

On 25 October 2016 at 22:57 Daco Harkes commented:

We do have a maven SPT test target now. Use the new spoofax project wizard in Eclipse and check tests to get a maven file that runs spt tests.


On 29 November 2017 at 14:04 Jeff Smits closed this issue.

Log in to post comments