Skip to content

Create testing framework for Pogo

Erik Lamers requested to merge elamers/pogo:pogo-tests into new-pogo

This MR continues upon !7

The goal of this MR is to create an extendible unit testing framework that contributors to Pogo can use.

This MR change very little code functionality and is mostly concerned with the tests. A few important changes:

  • The testing framework can be found in tests/init.py
  • The first tests can be found in tests/utils/test_filesystem.py
  • The .gitlab-ci.yml file is added to let Gitlab know this project can be auto tested on each commit now.

If Core wises they can add a test runner for this project when this MR is merged so the project will be automatically tested on each MR. This can be done using the following tutorial: https://docs.gitlab.com/runner/install/linux-repository.html and use https://gitlab.os3.nl/Networking/pogo/-/settings/ci_cd for the settings.

The idea is that now everyone will be able to submit unit tests for Pogo. It could even be added as a bonus task to the INR labs.

Merge request reports