https://github.com/allegro/parallel-test-execution-workshop
Resources for Parallel test execution workshop
https://github.com/allegro/parallel-test-execution-workshop
parallel spock tests workshop
Last synced: 2 months ago
JSON representation
Resources for Parallel test execution workshop
- Host: GitHub
- URL: https://github.com/allegro/parallel-test-execution-workshop
- Owner: allegro
- License: apache-2.0
- Created: 2023-11-03T11:40:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T11:51:27.000Z (almost 2 years ago)
- Last Synced: 2024-06-03T14:03:37.213Z (almost 2 years ago)
- Topics: parallel, spock, tests, workshop
- Language: Groovy
- Homepage:
- Size: 725 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Parallel test execution workshop
[](https://github.com/allegro/parallel-test-execution-workshop/actions/workflows/ci.yml)
This repository contains code and instructions used in parallel execution workshop. Examples are based
on [parallel execution](https://spockframework.org/spock/docs/2.3/parallel_execution.html) feature
for [Spock](https://spockframework.org), but concepts shown here can be used with other testing frameworks (JVM or
non-JVM).
---
## Table of contents
### [1. Introduction to parallel execution in Spock](part1.0-introduction/README.md)
#### [1.1 Shared state](part1.1-shared-state/README.md)
#### [1.2 From sequential to parallel execution](part1.2-from-sequential-to-parallel/README.md)
### 2. Refactoring integration tests in an example service
#### [2.1 REST service with a database](part2.1-database/README.md)
#### [2.2 REST service with a REST dependency](part2.2-rest/README.md)
#### [2.3 REST service with a message broker](part2.3-message-broker/README.md)
### [3. Measuring test execution time](part3.0-measuring/README.md)
### [4. Summary](part4.0-summary/README.md)
---
### Requirements (to build/run this project)
- JDK 21
- Docker
Sample applications and tests are written using:
- Spring + Spring Boot
- MongoDB
- [Java Client for Hermes](https://hermes-pubsub.readthedocs.io/en/latest/user/java-client/)
- Spock
- Testcontainers
- WireMock
- [Hermes Mock](https://hermes-pubsub.readthedocs.io/en/latest/user/hermes-mock/)
- [tests-execution-chart Gradle plugin](https://github.com/platan/tests-execution-chart) (tests execution schedule
visualization)