besolov / arquillian-regression-bug

Demonstration of Arquillian 1.1.4.Final regression bug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demonstration of Arquillian 1.1.4.Final regression bug

Description

This is demonstration of arquillian 1.1.4.Final regression bug. It doesn't fail with 1.1.4.Final and fails with 1.1.3.Final.

This test should fail, because the injection error (there is no @Stateless annotation on HelloEJB) and this test:

@Test
public void testSayHello() {
    assertNotNull(helloEJB);
    String result = helloEJB.sayHello("Roman");
    assertEquals("Hello Roman", result);
    fail("Should fail");
}

You can change version of arquillian in build.gradle to 1.1.3.Final:

def versionArquillian = "1.1.4.Final"

Build and run

You should set up your JBOSS_HOME environment variable: it must point to the root directory of the JBoss 7.2.0.Final or JBoss EAP 6.1.0 GA installation directory.

To build and test it on Linux or MacOS, just run:

./gradlew

On Windows:

gradlew

About

Demonstration of Arquillian 1.1.4.Final regression bug


Languages

Language:Groovy 60.3%Language:Java 39.7%