Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Automate Test Suite | System Interaction and Test Automation
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Automation Engineers

bookChallenge: 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_cases list, compare the actual and expected values.
  • 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 ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 5
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: 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_cases list, compare the actual and expected values.
  • 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

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 5
single

single

some-alt