Integration of test cases into the Java container

This testing framework has an external dependency to use, which is known as ShrinkWrap. It helps us in defining the deployments and descriptors of the application to be loaded in the Java container. The test cases run against these descriptors. ShrinkWrap supports generating dynamic Java archive files of type JAR, WAR, and EAR. It can also be used to add the deployment descriptor as well as to create the DD programmatically.

Arquillian is suitable for use in the following scenarios:

  • A part of your application to test needs deployment of the application within an embedded server
  • The test needs to be executed hourly, after a certain interval, or when someone commits the code
  • Automation of acceptance test of the application through external tools
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.172.146