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
@Injectannotation allows you to inject service instances into tests.
Unit testing is the first step in test driven development.