RCE BDD Testing Winter-term 2023/24
This repository contains the source code for the RCE BDD Testing course in the winter-term 2023/24.
Prerequisites & Getting Started
To run the tests and examples in this repository, you need to install the following tools:
We recommend to use a Linux distribution to run the tests and examples.
Additionally, to run network tests, you need to have access to a Kubernetes cluster. If you do not have access to a Kubernetes cluster, you can use Minikube or Kind. Otherwise, you can use a managed Kubernetes cluster from a cloud provider like AWS, Azure, or Google Cloud.
Note: As most network tests are build on top of Chaos Mesh, you need to install Chaos Mesh on your Kubernetes cluster. To install Chaos Mesh, please follow the quick start.
Repository Structure
This repository is structured as follows:
docs
: Contains the documentation for this repositoryimages
: Contains the Dockerfiles for the Docker images used in this repository
Contributing
We welcome contributions to this repository. Please ensure that you have installed the following tools:
To contribute to this repository, please follow these steps:
- Fork this repository
- Clone your forked repository
- Create a new branch
- Make your changes
- Push your changes to your forked repository
- Create a pull request
To ensure code quality, please run the following commands before pushing your changes:
$ pre-commit run --all-files
Setting up pre-commit hooks
To set up the pre-commit hooks, please run the following commands:
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install pre-commit
$ pre-commit install
$ pre-commit install -t pre-commit -t commit-msg
License
This repository is licensed under the MIT License.