Skip to content

An assignment on getting started with pytesting, Github actions and continuous development.

License

Notifications You must be signed in to change notification settings

CHCAA-EDUX/A1-getting-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A1-getting-started

An assignment on getting started with pytesting, Github actions and continuous development.

Github actions

Workflows


Pytest: How do I test the code and run the test suite?

To run the test suite (pytests) you will need to install the required dependencies. This can be done using

pip install -r requirements.txt
pip install pytest

python -m pytest

which will run all the test in the tests folder.

Specific tests can be run using:

python -m pytest path/to/test_script.py

Code Coverage If you want to check code coverage you can run the following:

pip install pytest-cov

python -m pytest --cov=.

About

An assignment on getting started with pytesting, Github actions and continuous development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%