Posts tagged Arquillian

How to Test Applications with Payara® Server & Micro with Arquillian

Before putting any application out for public access, it’s always worth testing that it works how you expect it to (and also how you don’t expect it to!). Effective testing of applications is something you can spend a week being taught, but for this blog I’ll just cover the basics of running JUnit and TestNG tests against Payara® Server & Micro using Arquillian.

Payara Server Beta 1 がリリースされました!

お楽しみの、喜びの、奉仕の、そして釣りの (違った、最後のは私が付け加えただけです) 季節がやってきました。そして世界中の皆様、このお休みに (訳注: イギリスはクリスマスと翌日が祝日です) Payara Server 5 の最初のベータ・リリースをお届けします。ダウンロードはこちらからどうぞ本当は何が欲しかったのか、私は知っているんですよ。

 

 Read this post in English

 

New Arquillian Container for Payara Server

One of the core steps in every continuous integration process is running integration tests for your application. Unlike vanilla unit tests, integration tests allow you to assess the state of your applications or systems by testing all of its components together (modules, databases, messaging, etc.) and verifying that they work correctly as a whole unit. Needless to say, integration tests are more complex that simple unit tests, have a larger footprint, take more time and are usually saved to test full releases or major changes to implementations.

Using Payara Embedded as an Arquillian Container Inside IntelliJ IDEA

With this article, I'm going to integrate Payara Embedded with Arquillian by having it defined inside a sample Maven based application - source code available here - which employs an integration test implemented by the Arquillian framework.  You can also find our previous post about Arquillian and the Payara Server available here, but this time I’ll take it one step further and move onto the IDE side. In this example, I will execute tests just like any JUnit test; meaning the test will be executed directly through the IDE with help of a right-click. I will also configure Payara Embedded as the Arquillian container inside the IDE.