A sample Python project to accompany the SSC compact course "Effective Software Testing".
The project is a simple implementation of the game "tic-tac-toe" including a test suite.
Continuous integration is set up using Github actions and codecov which automatically run the tests and display a coverage report whenever a pull request is made.
To clone the repo and do an editable install of the package:
git clone https://github.com/ssciwr/effective-software-testing.git
cd effective-software-testing
python -m pip install --editable '.[tests]'
To run the tests:
python -m pytest
To play the tic-tac-toe game on a 4x4 board:
tic-tac-toe --size 4
This repository was set up using the SSC Cookiecutter for Python Packages.