GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — OwlAPI/tests at master · FoothillCSClub/OwlAPI

This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Expand file tree

/

tests

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

tests

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
test_db
test_db
 
 
README.md
README.md
 
 
__init__.py
__init__.py
 
 
generate_test_data.py
generate_test_data.py
 
 
test_server.py
test_server.py
 
 

README.md

Outline

Tests

Structure:

  • One test module for each tested production module

  • One TestCase for each class or function to be tested

Running Tests:

  • Generate the test data automatically from test_database.json by running tests/generate_test_data.py from root

  • Call pytest on the tests/ directory. Example: python3.6 -m pytest tests or use your preferred IDE with pytest support, such as Pycharm

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.