Linter verified software
The test environment is based on Alpine and Nginx images in Docker containers.
It is created fairly easily using
docker-compose.
Test automation framework:
Robot Framework
- Dependency test libraries/modules are installed during the setup and
execution phase. - Currently included testing: XML and REST reply verifications.
- Does not utilize SeleniumLibrary or browsers.
$ docker-machine version
docker-machine version 0.16.1, build cce350d
$ docker-compose version
docker-compose version 1.24.1, build unknown
docker-py version: 3.7.3
CPython version: 3.7.4
OpenSSL version: OpenSSL 1.0.2s 28 May 2019
$ docker version
Client: Docker Engine - Community
Version: 18.09.7
API version: 1.39
Go version: go1.12.6
Git commit: 2d0083d
Built: Thu Jun 27 22:52:31 2019
OS/Arch: darwin/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.2
API version: 1.39 (minimum version 1.12)
Go version: go1.10.6
Git commit: 6247962
Built: Sun Feb 10 04:13:06 2019
OS/Arch: linux/amd64
Experimental: false
Create a new test environment utilizing Virtualbox and name it as 'testing':
docker-machine create -d virtualbox testing
Take the created environment into use:
eval $(docker-machine env testing)
Start the separate HTTP application:
docker-compose up -d web
docker-compose run 'parameter'
- XML verification: xml-validation
- REST verification: rest-validation
- separate environment for other dev/testing activities: validate-env
Notice:
- The REST verification test is using the following service: http://echo.jsontest.com
- Recognizing failing situations haven't been implemented properly.
docker-compose down
docker-machine rm -f testing