SoniaBarasa / country-capital-quiz-game

This repository is for general learning purposes. Aim is to learn conventional way to write a python code.
1 stars 2 forks source link

Move all tests to an ad-hoc tests/ directory #33

Open ahernank opened 1 year ago

ahernank commented 1 year ago

Currently, the repository has a single test file test_gameofgame.py which includes multiple testing functions. And we have a GitHub action workflow which runs this test.

This works now as all tests are part of a single test file. As the code base in the repository grows, we will expect to have more code that needs testing, therefore it is a good idea to have a dedicated tests/ directory. When doing this, we will also need to update the GitHub action so it tests all files on this directory.