Login and get coding
Note this is a Test Bite and uses Python 3.7 and MutPy 0.6.1
Building up on the previous Bite, you now have the chance to dive deeper into writing tests for Typer.
Therefore, write a test that checks whether functionality and help description works for both commands
compare
andsubtract
.Check out the Typer documentation about tests for more information.
Enjoy!
PS: We test your test implementation using
mut.py
. Becauseif __name__ == "__main__"
confuses the mutation testing, we removed it from thescript.py
.
15 out of 15 users completed this Bite.
Will you be the 16th person to crack this Bite?
Resolution time: ~41 min. (avg. submissions of 5-240 min.)