Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-example

pytest - Python Testing Example

This is a simple example of how to use pytest to integreate testing in your Python application.

Usage

This example comes with several test files (e.g. test_app.py, test_funcs.py, etc.).

Pytest Output

Code Structure

myapp/
    app.py
    mymodule/
        __init__.py
        funcs.py
tests/
    __init__.py
    test_app.py
        mymodule/
            __init__.py
            test_additions.py
            test_funcs.py

Contact

Author: Gianni Gnesa (gnix) (@GianniGnesa)[https://twitter.com/giannignesa]

For any question about this code, feel free to ask in the (PSEC Facebook Group))[https://www.facebook.com/groups/psec.community].

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages