cjuroz / pyunit-samples

Very basic unit test examples using pyunit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyunit-samples

This repo contains some very basic unit test examples using PyUnit framework

Learn how-to from this introduction: http://pyunit.sourceforge.net/pyunit.html

Test Cases

Contained in numberstest.py and can be run directly from command line using: python numberstest.py

Need to add at the end of file:

if __name__ == "__main__":
  unittest.main()

Test Suites

Test suites are split in 2 categories: critical and extended

They can be executed directly from command line using: python criticaltests.py and python extendedtests.py

In addition, alltests.py and alltestsalt.py are provided to see how to group several test suites.

About

Very basic unit test examples using pyunit


Languages

Language:Python 100.0%