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
4
votes
2 answers

Arquillian test Coverage

I would like to see the test coverage for IT tests run with Arquillian. I ran into this extension: https://github.com/arquillian/arquillian-extension-jacoco What I dont understand is why CoverageBean class tested by JacocoInegrationTestCase is not…
4
votes
0 answers

How to use PowerMock with Arquillian?

I tried to use PowerMockRule in a JUnit test that uses arquillian but I get java.lang.ExceptionInInitializerError Caused by: java.lang.IllegalStateException: PowerMockRule can only be used with the system classloader but was loaded by…
4
votes
1 answer

Constant java.lang.OutOfMemoryError: PermGen space Arquillian + Wildfly 8.1

Hi started a new project. One of the first things i wanted to do was get Arquillian set up and rolling. I have a couple controllers and JSF forms written. The process of loading up the dependencies final File[] files =…
Pompey Magnus
  • 2,191
  • 5
  • 27
  • 40
4
votes
2 answers

Wildfly port offset not working with Arquillain

Up until now I've been running my intergration tests using JBOSS AS 7 managed with Arquillian Testing framework. I have been setting the offset by 100 This has been working fine but now I want to transfer my integration tests to Wildfly AS managed…
Schokea
  • 708
  • 1
  • 9
  • 28
4
votes
1 answer

Arquillian and JBoss Wildfly

I am currently trying to run arquillian tests with jboss wildfly but a java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy exception is thrown while running it. I have follwing configuration: jboss…
Max
  • 475
  • 1
  • 10
  • 19
4
votes
0 answers

Loading Resource from Classpath in Arquillian Test

I am trying to add a resource to an Arquillian shrink-wrap archive and to load it via the classpath. However, I did not manage to make it working. I tried using addAsResource() and addAsWebInfResource(). The version below is the one I think should…
ruediste
  • 2,434
  • 1
  • 21
  • 30
4
votes
2 answers

Gradle Tooling API not being resolved

I have the Gradle Tooling API as a dependency for Arquillian Tests that I am writing. I am trying to figure out the best way to pull it in. Here's what I've tried: In my build.gradle: dependencies { ... testCompile…
Philip Tenn
  • 6,003
  • 8
  • 48
  • 85
4
votes
3 answers

Run arquillian tests on jboss installed on remote cloud server

I am able to run arquillian tests on my local machine using eclipse/terminal. I tried running arquillian from my local machine to jboss deployed on cloud server. I am sure that the dependencies are properly added. This is how I login to cloud…
Shashank
  • 133
  • 2
  • 13
4
votes
1 answer

Find all classes a single method call depends on / Arquillian Micro Deployments: How to collect necessary classes autmatically?

Hoi! The problem I discovered is pretty simple to understand but I can't find a solution. First let me provide this little snippet. @Deployment public static Archive createDeployableArchive () { JavaArchive jar =…
4
votes
3 answers

Arquillian fails to inject dependencies after the first test class

I have a slightly weird problem. I'm currently using Arquillian (1.1.0.Final) together with Embedded GlassFish (3.1.2.2). I used following guide to setup my little test project. Everything worked fine with the integrated Derby database. My real…
stupidSheep
  • 316
  • 1
  • 4
  • 12
4
votes
1 answer

WELD-001408 Unsatisfied dependencies

I have a very famous error, but I can't solve it. I'm trying to run arqullian test for my application. I've done everything according to the official documentation. The long search for solution to the problem given nothing. 16:49:42,713 ERROR…
Dmytro Danilenkov
  • 314
  • 1
  • 2
  • 11
4
votes
1 answer

What is the difference between managed tomcat and embedded tomcat?

I am not sure that I understand the difference between these two types of tomcats (embedded and managed). I am going to setup arquillian test for my project on tomcat and I have to choose between embedded tomcat or managed tomcat (since there are…
Yashar
  • 1,122
  • 2
  • 15
  • 43
4
votes
1 answer

Arquillian can not deploy "big" WAR in JBOSS

I am using JBOSS EAP 6.0.1. Everything worked fine. I inserted some dependencies into my project and now the deployment of every test fails. It seems like there is some sort of file size limit to the deployments if I use the @deployment annotation…
M.R.
  • 1,959
  • 4
  • 24
  • 32
4
votes
3 answers

Optimize Arquillian performance when running multiple tests

I am using Arquillian for testing Java EE application against Glassfish, So far I am facing a performance problem, each Test case takes more than a minute to complete, having 60 Test cases means an hour to run. and hence the build will take more an…
mmohab
  • 2,303
  • 4
  • 27
  • 43
4
votes
0 answers

JUnit RunNotifier and fireTestRunFinished

I'm trying to execute some Arquillian tests from Ant (1.8.2, with junit4 support) but it seems that the Ant task does not call RunNotifier.fireTestRunFinished() and the Arquillian test runner counts on this to undeploy the arquillian-jmx war from…
andrei.serea
  • 950
  • 1
  • 9
  • 15