You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should be more clear what problems ok is able to test. Using Homework 1 as an example, it is not clear that there are no tests for if_function.
Interestingly, running python3 ok -q if_function actually runs the tests for hailstone. I do think that running python3 ok -q hailston and running hailstone is nice, so maybe we should introduce some maximum edit distance we are willing to run a test for. Typing the entire function name out (as opposed to q1) is a bit inconvenient though, so I think somehow mapping q1 to a list of functions to run doctests for would be preferable.
The text was updated successfully, but these errors were encountered:
I think we should be more clear what problems ok is able to test. Using Homework 1 as an example, it is not clear that there are no tests for
if_function
.Interestingly, running
python3 ok -q if_function
actually runs the tests forhailstone
. I do think that runningpython3 ok -q hailston
and runninghailstone
is nice, so maybe we should introduce some maximum edit distance we are willing to run a test for. Typing the entire function name out (as opposed to q1) is a bit inconvenient though, so I think somehow mappingq1
to a list of functions to run doctests for would be preferable.The text was updated successfully, but these errors were encountered: