Skip to content

Unit Testing With Python

Actions
Automated Unit testing of your python code under a given test case
0.0.1
Latest
Star (13)

Python-actions

  • The following repository will be performing a unit test on your python file noted with its given test case. Unit testing tool which I have used is Pytest. For more information on how to create a unit test case in python follow the given steps.
  • Create a name.py file
  • After that create a test case file which you can either name it as test_name.py or name_test.py. Remember that including test_ is important as pytest will be picking up those files which either start or end with keyword test.
  • Moving on add this action to your .yml file and that's it you are done.
  • Your test_name.py will be executed and will return the result.

Unit Testing With Python is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automated Unit testing of your python code under a given test case
0.0.1
Latest

Unit Testing With Python is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.