Challenge: Automate Test Suite
Tâche
Swipe to start coding
Automating test suites is a core responsibility for automation engineers. In this task, you will simulate running a suite of tests and reporting the results.
- For each test case in the
test_caseslist, compare theactualandexpectedvalues. - Record the pass or fail status for each test.
- After all tests have been evaluated, print a summary report showing the total number of tests, the number that passed, and the number that failed.
- For each test, print the test name and whether it passed or failed.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.76
Challenge: Automate Test Suite
Glissez pour afficher le menu
Tâche
Swipe to start coding
Automating test suites is a core responsibility for automation engineers. In this task, you will simulate running a suite of tests and reporting the results.
- For each test case in the
test_caseslist, compare theactualandexpectedvalues. - Record the pass or fail status for each test.
- After all tests have been evaluated, print a summary report showing the total number of tests, the number that passed, and the number that failed.
- For each test, print the test name and whether it passed or failed.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 5
single