Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

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.ExtremeFailingTestCase

Results :

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] ------------------------------------------------------------------------
----