DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
11 Monitoring and Observability Tools for 2023
Learn more
  1. DZone
  2. Coding
  3. Java
  4. Setting Up Arquillian to Run in Eclipse

Setting Up Arquillian to Run in Eclipse

Rob Williams user avatar by
Rob Williams
·
Apr. 22, 11 · Interview
Like (0)
Save
Tweet
Share
15.98K Views

Join the DZone community and get the full member experience.

Join For Free

Here is a super quick path to seeing *Arquillian* in action, inside *eclipse*. Do New Project (command-N), pick Maven Project (assuming you have *m2Eclipse* installed). On the 3rd page, the archetype catalog comes up, I have typed in Weld to filter to those archetypes: Note that the selected one is the new release candidate (no longer beta). Pick that. Once the project has been created, you have to add the maven profile to the project settings. First, go into the pom and find the Arquillian profiles. I am going to use the remote one, which means I will leave JBoss running and the runner (*JUnit*) will connect to it and deploy the *shrinkwrap*ped artifact it made. Copy that string to the clipboard. Now, go into the project settings. (You can get in there by typing Command-I.) Highlight the Maven node, you will see the input box on the front page is empty.

Paste the profile name and it will look like this:

Now one last thing to run the tests: start up JBoss. I have 6 installed in the WTP servers window. Note: there is no need to do Add/Remove.

Once it's running, just go to the test and run it like you would any other JUnit test. To see the potential of this workflow in terms of speed, make sure you run the test a few times. The first time it will download a lot of artifacts. The second time, it will be very fast.

 

This whole process should take maybe 10 minutes. 

 

From http://www.jroller.com/robwilliams/entry/setting_up_arquillian_to_run

Eclipse Testing Profile (engineering) Apache Maven JBoss Artifact (UML) Archetype (information science) Typing Strings workflow

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • What Is Continuous Testing?
  • AWS CodeCommit and GitKraken Basics: Essential Skills for Every Developer
  • Tracking Software Architecture Decisions
  • Public Key and Private Key Pairs: Know the Technical Difference

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: