Testing the service layer

Service layer testing is a critical part of the enterprise application development. As mentioned previously, the service layer encapsulates the business rules that define the working application and is where a significant amount of development time is spent. Business logic evolves as the application is enhanced, new modules are added, and business rules change. The test cases for the service layer will therefore represent the evolution of the application. Well-documented test cases will enhance the knowledge base of the application lifecycle, define changes, and explain the purpose of the change. The service layer test cases will become a repository of information appreciated by all developers working on the project. ...

Get Enterprise Application Development with Ext JS and Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.