Login and get coding
Note this is a Test Bite and uses Python 3.7 and MutPy 0.6.1
In this Bite we will write tests for a module that parses data from Zodiacal / The Zodiac API. See the CODE TO TEST tab below.
- The
get_signs
function is used in thesigns
fixture that has been provided in the template. You can use it in your tests by passing it into your test functions (read our article if you have not used them yet).- Write code to test
get_sign_with_most_famous_people
,signs_are_mutually_compatible
andget_sign_by_date
.- As with all our test Bites, your test code will be tested for: 1. correct syntax, 2.
pytest
passes all tests, 3. 100% coverage, 4. 100% mutation score (mutpy
)Good luck and keep calm and code in Python +
pytest
! If you have ideas and/or open source code that can serve us for more test Bites, please hit us up here or in our community ...
78 out of 79 users completed this Bite.
Will you be the 79th person to crack this Bite?
Resolution time: ~82 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 5.5 on a 1-10 difficulty scale.
» Up for a challenge? 💪