You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
On November 18th _[JUnit Lambda](http://junit.org/junit-lambda.html)_ presented their first [prototype](https://github.com/junit-team/junit-lambda/wiki/Prototype).
8
+
I'm using this project to get to know the features and to demonstrate them.
9
+
10
+
## Compiling & Running
11
+
12
+
The prototype is only available in [Sonatype's snapshots repository](https://oss.sonatype.org/content/repositories/snapshots/org/junit/prototype/) and by default Maven will not access it.
13
+
Adding the following [profile](http://maven.apache.org/guides/introduction/introduction-to-profiles.html) to your `settings.xml` will allow you to instruct Maven to do just that:
This project should then compile with `mvn -P snapshots compile`.
37
+
38
+
The prototype [must be executed](https://github.com/junit-team/junit-lambda/wiki/Prototype-Running-Tests) with a bare-bones console runner and it is straight-forward to have Maven do that.
39
+
This way the surefire plugin is not used but that's no problem. The runner will print a lot of colorful messages to the console.
40
+
41
+
The tests can simply be run with `mvn test`.
42
+
43
+
## Further Reading
44
+
45
+
A list of things you could read if you're interested in the topic:
46
+
47
+
* first and foremost, there is of course [the official documentation](https://github.com/junit-team/junit-lambda/wiki/Prototype)
48
+
* there will be a [JUnit tag on my blog](http://blog.codefx.org/tag/junit/) collecting my posts about this
49
+
50
+
## Caveat Lector
51
+
52
+
Note that _JUnit Lambda_ is actively developed and very much a moving target.
53
+
Anything presented here must be carefully reexamined before basing any opinions or even decisions on it.
0 commit comments