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
1,006
questions
-1
votes
0
answers
22
views
java.lang.RuntimeException: Could not setup GlassFish Embedded Bootstrap
I have a deployment class for integration tests in my project that is inheriterd by every test class. This class is annotated by:
@ArquillianSuiteDeployment
@RunWith(CustomArqullianRunner.class)
I'm ...
1
vote
0
answers
59
views
Mockito.mock(...) does not work inside an Arquillian integration test anymore
We're upgrading from Java 8 to 21 and since we run Arquillian with a remote Wildfly for integration testing, but also have some mocking inside those test classes to avoid to execute some annoying code,...
0
votes
0
answers
73
views
How can I control transaction handling in Arquillian using JUnit5?
I have a project, working fine, when I deploy the EAR to Jboss EAP. The behavior is as expected.
I also can test my project with Arquillian with a lot of tests, but I observed now the following ...
0
votes
0
answers
15
views
Does arquillian support the new chrome headless mode?
Does anyone know if arquillian graphene support the new chrome headless mode? see https://developer.chrome.com/docs/chromium/new-headless
Currently i'm setting it like below and can't tell if its ...
0
votes
0
answers
69
views
Arquillian Integraiton tests failing when upgrading to Wildfly 26.1.3.Final with JakartaEE9
We had to upgrade an application from wildfly 26.0.1.Final to 26.1.3.Final. As there was an upgrade from JakartaEE8 to JakartaEE9 with this aswell there where problems with the primefaces UI (e.g. ...
0
votes
1
answer
57
views
Writing a Java Arquillian test for a Map Tuple method
I'm attempting to write an Arquillian test to test the following method:
// provinceName is key, provinceAbbreviation is value
public Map<String, String> regionMap() {
return em....
0
votes
1
answer
650
views
How to use MicroProfile ConfigProperty injection from a microprofile-config.properties file in Open Liberty test using ShrinkWrap + Arquillian?
Problem
I added a microprofile-config.properties file to the Liberty "Testing microservices with the Arquillian managed container" guide sample, but my microprofile-config.properties isn't ...
1
vote
0
answers
630
views
Arquillian in Jakarta EE 10
i have search a lot about it but i couldnt find the right answer. So here is my question. Is there any instruction how to configure Arquillian with Jakarta EE 10?
I have tried to find some ...
0
votes
1
answer
363
views
Arquillian with Junit, Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
I have this all dependencies in my pom.xml file:
<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>...
0
votes
1
answer
252
views
How to resolver Arquilian on wildfly test problem under windows
I have a problem related to testing in windows operating system using Idea, I use Arquilian on wildfly server, the error i'm getting is this [CIRCULAR REFERENCE:java.net.ConnectException: ...
2
votes
0
answers
118
views
Arquillian test not failing
When dependency injection in Arquillian test class fails, maven still claims that all tests are run and are passed. This is major issue if we have hundreds of tests and some tests show as Green in ...
1
vote
1
answer
381
views
Testing EJB with Arquillian I get "Please include at least 1 Deployable Container on your Classpath."
I'm trying to test the following bean with Arquillian, but get an error saying that cannot find a deployable container:
import javax.ejb.Stateless;
@Stateless
public class MyBean {
public int ...
1
vote
2
answers
515
views
Null object when testing EJB with Arquillian in Eclipse
I'm trying to test in Eclipse an EJB with Arquillian. I'm running this on Wildfly 20 with JDK 11 on Eclipse 2020 12 for Windows.
This is the bean:
@Stateless
@TransactionManagement(...
1
vote
0
answers
277
views
Arquillian : Dependency Injection not working
I am trying to use Arquillian to run tests on a remote Wildfly server. I am not sure why the Dependency Injection does not work. Here is the relevant section from POM:
<dependency>
...
1
vote
0
answers
267
views
Integration Testing for Microprofile / OpenLiberty
I have joined a new project who are using Microprofile/Openliberty. I have searched around quite a bit on the internet and it doesnt look like there is a straight forward way to write integration ...