File IO and Exceptions - Class 03

Project: Madlib Game

Author: James Ian Solima

Links and Resources

regexr Darran Holmes - pair programming, using format Sheldon Pierce - pair programming, giving ideas on how to prompt user

Setup

  • pip install -r requirements.txt

How to initialize/run your application (where applicable)

e.g. python main.py

How to use your library (where applicable)

  • Tests

    • tests read_template() returns string
    • tests parse_template() returns stripped string and tuple with stripped keywords
    • tests merge() returns user input merged into correct spots in string template
    • tests read_template() raises exception when file has bad path
  • How do you run tests? pytest

  • Any tests of note? 100% passing all tests

  • Describe any tests that you did not complete, skipped, etc NA