Assuring top quality is paramount in producing awesome software. Test driven development plays a key role in this process. Liferay’s tooling and integration with standard test frameworks support test driven development and help you reach quality milestones. Here are the ways Liferay facilitates testing:

  • Unit testing: Using JUnit to unit test Liferay Portal modules in Gradle and Maven build environments and in IDEs that have JUnit plugins is seamless.
  • Injecting Service Components into Tests: Liferay’s @Inject annotation allows you to inject service instances into tests.

Unit testing is the first step in test driven development.

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
0 (0 Votes)
Servlet Filters Previous