There are no items in your cart
Add More
Add More
Item Details | Price |
---|
Learn how to run Maven surefire tests from Docker
Follow the below steps to build a docker image and run tests:
1. Create a Dockerfile in your project directory with below content.
C:/Projects/HelloWorldApplication/Dockerfile
2. Open a command prompt and navigate to your project directory.
3. Run the following docker command to build image from the Dockerfile.
4. Run the following docker command to enter the container and open a terminal inside it.
5. Run the maven command to run your tests inside the docker container.
Bijan Patel
Full Stack Test Automation Expert | Selenium Framework Developer | Certified Tosca Automation Specialist | Postman | DevOps | AWS | IC Agile Certified | Trainer | Youtuber | Blogger|