Testing Exceptions Practice
I hope you remember how you wrote exception handling in this chapter. It's time to practice writing tests for these assertions.
Task
Your task is to cover two methods from the ExceptionHandlingExercise class with tests using assertThrows() and assertDoesNotThrow() assertions in the unit test class that I have created for you.
Obrigado pelo seu feedback!
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 4.55
Testing Exceptions Practice
Deslize para mostrar o menu
I hope you remember how you wrote exception handling in this chapter. It's time to practice writing tests for these assertions.
Task
Your task is to cover two methods from the ExceptionHandlingExercise class with tests using assertThrows() and assertDoesNotThrow() assertions in the unit test class that I have created for you.
Obrigado pelo seu feedback!