Manager is looking for a strong Automation SDET. Just need the coding challenge below completed.
PLEASE TELL CANDIDATES TO CODE VERY WELL AS IT WILL SERVE AS THE FIRST ROUND OF INTERVIEW.
Here are the instructions for the exercise:
"Can you have the candidates complete this home-based assignment and send me the results as a zip file or a google drive link of the project, please. We can review the results and decide for further rounds.
Task:
Unit tests
1. Write tests for SearchCountryUseCase class. Make sure that all cases are covered. Recommended to use Parametrized test.
2. Write tests for CountriesViewModel. Highly recommend covering search functionality.
Ui tests
3. Write tests for CountryDetailsFragment.
4. Write tests for CountryFragment.
Recommendation:
• use Roboelectric to run ui tests on JVM Environment.
• use Espresso to verify views.
• cover androidx navigation calls.
Test coverage:
Any Graduate