Can we use rtrace in the exam?

_
_ginevra_ (620 points)
0 10 15
asked Jan 20, 2021 in News by _ginevra_ (620 points)
Hi was wondering if the module rtrace would be included in the exam folder so that we could use it.
136 views

2 Answers

Dario_loi (1710 points)
0 3 10
answered Jan 20, 2021 by Dario_loi (1,710 points)
To add to your question, I was also wondering if maybe some test cases could be directly written in the program.py file, in a main function, as function calls.

That would allow us to pass parameters to our exercises's functions and debug them effectively using the debugger

otherwise I find myself wasting more time trying to build test cases than actually fixing the bug (as it always is)

I ask just as a courtesy, not as a complaint.
angelo.spognardi (4640 points)
37 60 92
commented Jan 21, 2021 by angelo.spognardi (4,640 points)
Hi, yes you can of course use a main function or the main script  to test and debug your functions.
angelo.spognardi (4640 points)
37 60 92
answered Jan 21, 2021 by angelo.spognardi (4,640 points)
Hi, ok we will add the rtrace module for debugging purposes.
_
_ginevra_ (620 points)
0 10 15
commented Jan 21, 2021 by _ginevra_ (620 points)
edited Jan 21, 2021 by _ginevra_
That is great news. I am very happy.