Arquillian is an extensible Java testing platform that’s designed to make integration testing easy. Arquillian manages the lifecycle of setting up, starting, or connecting to a container (e.g., Tomcat), packaging your test cases and any dependent classes or resources, deploying them to the container, running the tests in the container, and capturing and reporting the results. The Arquillian Extension for Liferay is a set of tools designed to help developers test their Liferay plugins. The Arquillian Extension Liferay Example project demonstrates how to use the Arquillian Liferay Extension.

Unit Testing with JUnit

Test driven development is a best practice for any developer. Unit tests verify and validate functionality of classes and methods in isolation by “mocking” external dependencies. One of the most...

Read More

Liferay Slim Runtime

The Liferay Slim Runtime provides the bare necessities for running Service Builder modules. It’s useful for testing applications quickly in a Liferay runtime environment free of Liferay add-ons....

Read More

Injecting Service Components into Tests

You can use Liferay Portal’s @Inject annotation to inject service components into a test, like you use the @Reference annotation to inject service components into a module component. @Inject uses...

Read More

Arquillian Extension for Liferay Example

The Arquillian Blade Example project demonstrates performing integration and functional tests using the Arquillian Liferay Extension. Additionally it measures code coverage using JaCoCo. In this...

Read More
0 (0 Votes)
Providing the User Personal Bar Previous