Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aslakknutsen/arquillian-volkswagen
Sick of red failing tests? With the Volkswagen extension you will only see green!
https://github.com/aslakknutsen/arquillian-volkswagen
Last synced: 7 days ago
JSON representation
Sick of red failing tests? With the Volkswagen extension you will only see green!
- Host: GitHub
- URL: https://github.com/aslakknutsen/arquillian-volkswagen
- Owner: aslakknutsen
- License: apache-2.0
- Created: 2015-10-08T14:37:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-08T15:08:53.000Z (about 9 years ago)
- Last Synced: 2024-11-01T04:34:56.301Z (16 days ago)
- Language: Java
- Size: 141 KB
- Stars: 24
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
- License: LICENSE
Awesome Lists containing this project
README
== Arquillian Volkswagen
Make any test suite fly green in a second! Always!
=== Usage
Simply add the following to your Maven pom and never worry about nasty red test failures again!
[source, xml]
----org.arquillian.extension
arquillian-volkswagen
1.0.0.Final-SNAPSHOT
test----
=== Example
[source, java]
----
@Test
public void shouldBeFalse() {
Assert.assertFalse(true);
}@Test
public void shouldNotFail() {
Assert.fail("No way!");
}@Test @RunAsClient
public void shouldBeFalseClient() {
Assert.assertFalse(true);
}@Test @RunAsClient
public void shouldNotFailClient() {
Assert.fail("No way!");
}
----[source, console]
----
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.arquillian.extension.volkswagen.ExtremeFailingTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.736 sec - in org.arquillian.extension.volkswagen.ExtremeFailingTestCaseResults :
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.353 s
[INFO] Finished at: 2015-10-08T17:06:32+02:00
[INFO] Final Memory: 23M/249M
[INFO] ------------------------------------------------------------------------
----