Return to search

Docker Image Selenium Test : A proof of concept for automating testing

The elderly social care IT company Phoniro is developing solutions for deploying software using docker technologies. To secure quality in their deploy pipelines Phoniro would like to do automatic selenium testing within Docker containers. The project should set the framework and required technical solution to enable this and also run some basic test including suitable reporting on test success. This is a concept that is new to Phoniro that would allow them, if proven, to automate testing in a safe environment, and pushing their web applications to deployment faster. The purpose is to prove this concept by creating a framework that will easily let the user run web applications inside a Docker container. Then run this framework inside of a pipeline to see the testing capabilities. The user is supposed to be able to do this without any previous knowledge of how docker works. We have developed a framework in Python that enables the user to build and run their web application inside a docker container. We built a pipeline and connected it to the repository with the source code for the web application. The framework is run inside the pipeline to start the container, followed by simple selenium tests that we created to test the concept. We have proven the concept to run and test web applications in docker containers inside of pipelines to work. It is possible connect a web application in development to a repository, connect it to a pipeline and have it automatically test the application every time a change is made to the source code. By designing proper selenium tests the pipeline can save a lot of time and effort that is otherwise spent on manual testing

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:hh-43032
Date January 2020
CreatorsJohnson, Tobias, Lindell, Carl
PublisherHögskolan i Halmstad, Akademin för informationsteknologi, Högskolan i Halmstad, Akademin för informationsteknologi
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageEnglish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0016 seconds