Pipelines and containers for testers
Run tests without anyone clicking. This covers Jenkins, GitHub Actions, Docker, Compose and a Selenium Grid, with reports saved from every run.
- Docker from zero: images, containers, ports and volumes for testersUnderstand an image and a container, run one with a port open, keep data in a volume, and stop and clean up, so you can start a test version of the app in a minute.
- Jenkins from zero: install, a first job, Build Now and the console outputInstall Jenkins, make a first freestyle job that runs a test command, press Build Now, read the console output, and learn what the blue and red balls mean.
- Jenkins from zero: install with Docker, first login, plugins and a workerInstall Jenkins with Docker, find the first admin password, choose plugins, create an admin user, and learn what an agent is so tests can run somewhere other than…
- Pipelines for UI tests: run on push, save screenshots, videos and reportsRun Selenium or Cypress tests in GitHub Actions on every push, keep screenshots, videos and test reports as artifacts even when tests fail, and read them to find …
- Docker part 2: write a Dockerfile and build your own test imageWrite a short Dockerfile, build an image from it, run it, and read the build output, so the same test set-up starts on any machine or pipeline.
- Zed Attack Proxy (ZAP) in a pipeline: run the baseline scan in Docker and read the reportRun the ZAP (an open security scanner) baseline scan from a container, keep the report, tell the scan which findings to ignore, and decide when a finding should fail the build.
- Jenkins part 3: triggers, schedules and parametersStart a Jenkins job on a timer or after a change, give it choices such as the environment to test, and read how the time and the choices are written.
- Docker Compose: service names, ports, a named volume and execStart an app and its data store together, see why services find each other by name, keep data across a restart, and run a command inside one service.
- GitHub Actions part 1: write your first workflow file and read the run logSave one short file in your project, push it, and watch GitHub run your tests on a fresh machine, then read the log to find the first step that failed.
- GitHub Actions part 2: test every pull request, test on a schedule, and keep the reportStart the tests on every pull request and every night, make the result a check that must pass before merging, and upload the report so anyone can open it.
- GitHub Actions part 3: matrix runs, caching and secrets used safelyRun the same tests in several browsers at once, save install time with a cache, and pass a password to a test without ever writing it in the file.
- k6 part 3: run k6 in a pipeline, fail the build and keep the resultsRun the k6 script in GitHub Actions, let a broken threshold fail the build through its exit code, and save a summary file for the team.
- Jenkins part 4: your first Jenkinsfile pipelineWrite a small Jenkinsfile with stages, keep it in source control, make a Pipeline job from it, and read the stage view to see which stage failed.
- Jenkins part 5: agents, labels and credentialsChoose which machine a stage runs on with a label, keep a secret in the credentials store, and use it in a step without printing it.
- Jenkins part 6: publish test reports and artifactsMake a pipeline record its test results with the junit step, keep screenshots and logs as artifacts, and read the trend of passes and failures.
- Running Appium tests in a pipeline: server, emulator, log and screenshotsStart the Appium server and a screenless emulator on a build machine, run the phone tests, and keep the server log and failure screenshots so a red run can be exp…
- Selenium Grid in Docker: a hub, browser nodes and two tests at onceStart a Selenium Grid from a compose file, read its status page, point a remote WebDriver at the hub and run two tests side by side.
- Debug a container: logs, exec, inspect, port clashes and exit codesFind out why a container stops at once or will not start, using logs, exec, inspect and the exit code, and fix a port clash.
- Docker in a pipeline: build the image, run the tests inside it and keep the reportBuild the test image in a pipeline, run the tests inside it, reuse cached layers, keep secrets out of the image and save the report folder.