Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 587 Bytes

readme.md

File metadata and controls

27 lines (14 loc) · 587 Bytes

Exception Handling Activity

This repository is used in the Ada Exception Handling Activity as an exercise for Ada students to practice generating exceptions in their code and writing test cases that expect exceptions.

Setup

To get set up first create a virtual environment.

$ python3 -m venv venv

Next activate the environment:

$ source venv/bin/activate

Finally, install the dependencies with:

$ pip install -r requirements.txt

Running The Application

You can execute the application with:

$ python activity/main.py

You can run the tests with:

$ pytest