THE USE OF DOCKER IN TESTING

THE USE OF DOCKER IN TESTING

Comment below to share with your friends#DOCKER ??????

LETS TALK ABOUT THE USE OF DOCKER IN TESTING TODAY!!

If you are part of a team that tries to stay lean and avoid costly alternatives like a fully managed #cloud service, docker can be a perfect alternative!

Docker is a not only cost-effective but highly efficient and scalable way of working with applications.

Are you curious to know how you can use docker to set up and run your automated tests?

Few benefits that you will have by using a docker are :

1. Efficient, lightweight, self-contained Images and Containers

2. Very easy to scale the number of Nodes

3. Local and remote execution of tests

4. Executable on any system where Docker is installed (https://www.docker.com/get-docker)

5. No setting up and configuring development environments, just develop (no download of drivers, browsers or any other dependencies are necessary)

6. Selenium Hub and Node images are provided by Selenium

additionally, you do not have to worry about data setups, you can create a container and forget about the unstable/brittle tests which were earlier data/environment dependant.

This is how it would work:

1. Deploy Selenium Grid by running Selenium Hub and then separate nodes for Chrome/Firefox combinations. These nodes would be connected to Selenium Grid

Create Docker image which would contain everything necessary for running tests

2. Run that image as a docker container and copy over the content of our tests

3. Run tests against Selenium Grid which would, by reading capabilities, know which browser is the target

4. After tests have been executed, a temporary container where tests have been executed would be destroyed since it is no longer needed

Convenient and cost-effective right?

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Did you like the post? ??

Follow ?? @astaqcconsulting ??

www.astaqc.com ??

Comment below to share with your friends

#selenium #automation #python #dockers #tests #unittesting #automationtesting #automationtools #java #kotlin #ruby #100daysofprogramming #programming #qa ??

要查看或添加评论,请登录

Avanish P.的更多文章

社区洞察

其他会员也浏览了