codeforbtv/courtbot-vt

Unit tests

Closed this issue · 1 comments

🍦 Feature Request 🍦

Write them...

I'm inclined to use pytest (since that's what I've used in the past) but I am open to other suggestions.

03/26/2021

Current progress

  • Work being done here
  • pytest framework used
  • Refactoring the code to make text parsing tests.

To do

  • Make tests that work with an HTML response object.
    • Potentially read from a local HTML file (copy of an existing VT court-calendar like this one). Then use this to make a library-specific (beautiful soup/ requests-html) response object, and run tests on this.