(Task 4) - It All Comes Together
(Task 4) - It All Comes Together
(Task 4) - It All Comes Together
You have worked over the last three tasks to create the runner's assertion with various classes.
Now, you must create a command line interface that ties it all together.
You have been given a (minimal) scaffold in this task. There are no automated tests in this task
and the markers will manually check this.
Testing harness for this task is NOT GRADED. Although we are not assigning any marks to this, you should
still try to create some tests for this task for your own sanity check.
A run and a check button has been implemented for this task, which will let you run your task4.py and
test_task4.py file respectively.
There are no automated tests for this task hence, the Test button is missing.
WARNING! All of your error handling for creating runners and creating competitions MUST be handled in the
create_runner and create_competition methods. Do not create one giant main method. You are
STRONGLY RECOMMENDED to create smaller functions to help modularise the code. This is something
we will be grading you on.
Example Output
(Please note: this is only an indication. Your output does not need to be exactly the same.
However, your program must still ask the user to create runners and competitions. It should also
handle all errors that may be raised due to the creation of the runners and competition. Your
tutors will enter several inputs to try and break your code so its best if you try to do the same
before submitting the assignment.
TEXT
Leaderboard