Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 591 Bytes

readme.md

File metadata and controls

27 lines (14 loc) · 591 Bytes

Exception Handling Activity

This repository is used in the Ada Exception Activity 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

Then activate the environment:

$ source venv/bin/activate

You can then 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