Skip to content

Barebones template I use as a starting point for unit testing.

Notifications You must be signed in to change notification settings

AstroSnout/unit-test-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit testing template

Barebones template for unit-testing in python with an included simple test case.

Requires structlog module 'cause I like it more that logging.

This will also create a log file UnitTest.log which saves stdout.

If any of the tests write to a file, it should be saved in ./lib_unittest/dumps/ folder. This template creates that dumps folder on execution, and deletes it when all tests have passed. Dumps folder is not deleted if any tests fail or throw errors.

About

Barebones template I use as a starting point for unit testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages