Questions tagged [jboss-arquillian]

JBoss Arquillian is a testing platform for the JVM that enables developers to create automated integration, functional and acceptance tests for Java middleware.

JBoss Arquillian is an extensible testing platform for the JVM that enables developers to create automated integration, functional and acceptance tests for Java middleware.

The Arquillian project intends to reduce the complexity of integration testing by covering several aspects of test execution, such as container lifecycle management and remote execution, and adheres to three core principles:

  • Tests should be portable to any supported container
  • Tests should be executable from both the IDE and the build tool
  • The platform should extend or integrate existing test frameworks
1007 questions
3
votes
1 answer

Wildfly 8.1.0 Final + Arquillian 1.1.5.Final = ArquillianServletRunner - No result returned

When I'm trying to run Arquillian tests on a remote Wildfly 8.1.0, I get the following stacktrace in the test results file: ------------------------------------------------------------------------------- Test set:…
PawelPredki
  • 754
  • 1
  • 12
  • 26
3
votes
2 answers

Arquillian vs EJB embeddable container

I am trying to understand the differences between the EJBContainer class provided by Java EE 6 for embeddable unit testing of EJB modules and Arquillian. Is there a good resource or can someone help me in understanding this? Is it worth to write…
Yogendra
  • 331
  • 5
  • 21
3
votes
1 answer

Arquillian with managed Tomcat 7

Does anyone have a working configuration for Aquillian using a managed Tomcat 7? Arquillian fails always after starting Tomcat with the following lines Apr 15, 2014 12:04:39 PM org.apache.catalina.startup.Catalina start Information: Server startup…
Oliver
  • 3,815
  • 8
  • 35
  • 63
3
votes
2 answers

Arquillian with Wildfly 8.0.0.Final Managed not working

I have been using arquillian with jboss-as-7.1.1.Final for a while now. I want to start using wildfly 8.0.0.Final but I cannot get it to work. I have changed only my pom.xml and arquillian.xml. This is my "properties":
felipe_gdr
  • 1,088
  • 2
  • 11
  • 27
3
votes
1 answer

Can Arquillian run tests in parallel?

Situation: JUnit is capable of running multiple test methods/classes in paralell. We have a bunch of integration tests that use Arquillian. In these tests we use our maven-build war artifact as @Deployment and enrich it with a few test…
lajuette
  • 997
  • 1
  • 7
  • 18
3
votes
1 answer

Arquillian: Could not setup GlassFish Embedded Bootstrap

I have created a JPA test with arquillian (1.1.2 final) using embedded Glassfish (3.1.2) and a test using EJBContainer in the same project. I can run the test one by one in Eclipse (Kepler) just fine (when I have a Derby running on background), but…
Ville Myrskyneva
  • 1,560
  • 3
  • 20
  • 35
3
votes
1 answer

How can I test RESTful methods with Arquillian?

I have a set of classes to work with REST methods in project. They look like this: @Path("customer/") @RequestScoped public class CustomerCollectionResource { @EJB private AppManager manager; // working with DB @GET …
rand0m86
  • 3,172
  • 4
  • 26
  • 29
3
votes
1 answer

Arquillian fails since it cannot undeploy test war after running the test case

I am running arquillian test cases on managed tomcat . When I am running a sample test case , all of the tests in the test case passes but the whole test fails since arquillian cannot undeploy the test war after testing process. Here is the…
Yashar
  • 1,122
  • 2
  • 15
  • 43
3
votes
1 answer

JavaEE CDI Testing: get cause of RollbackException

I'm using Arquillian with an embedded Glassfish 4.0 container for testing. So far, I managed to get it to work, but one test case keeps failing and I don't know why. Here is my Test code: // Test Class @Inject private CompetenceService…
bmurauer
  • 989
  • 8
  • 24
3
votes
1 answer

ProgrammaticLogin doesnt work in arquillian tests

I'm trying to simulate a login using the ProgrammaticLogin class in my arquillian tests in an embedded glassfish. my code is the following:…
3
votes
2 answers

Sharing instance variables between tests in Arquillian TestNG test methods in one class

Disclaimer: I know this is a very bad design to actually have tests depend on each other to set any kind of variables. However I have to migrate these tests to Arquillian and rewriting everything is out of question. Question: I have test methods…
MartinTeeVarga
  • 10,478
  • 12
  • 61
  • 98
3
votes
2 answers

Arquillian and Selenium in mixed Container/Client mode

i am reading the tutorial on Arquillian's website http://arquillian.org/guides/functional_testing_using_drone/ Under the paragraph of "Enabling Client Mode" they state that it is possible to mix in-container and client modes in the same test! Just…
3
votes
2 answers

Deploying a war with a MANIFEST.MF - Dependencies get ignored

I am deploying a war into JBoss 7.x using Arquillian for testing and it has a dependency on Apache Commons Collections. However, it just doesn't seem to pick up the module dependency. MANIFEST.MF Dependencies: org.apache.commons.collectionss…
drone.ah
  • 1,135
  • 14
  • 28
3
votes
2 answers

ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/transaction/SystemException

I'm trying to use Arquillian against weblogic 12C. I put the following configuration in my pom.xml org.jboss.arquillian.junit arquillian-junit-container
Alexandre T
  • 648
  • 2
  • 8
  • 24
3
votes
3 answers

Cannot run Arquillian test case on Glassfish

I am stuck very badly in a very simple implementation of an Arquillian test case. I followed Can I add jars to maven 2 build classpath without installing them? to add my project jars to maven repository. I am using Glassfish server as my application…
shaun
  • 185
  • 3
  • 12