When creating a test case in the unittest framework, which method is used to contain the individual tests that the test runner will execute?

  • runTest
  • setUp
  • tearDown
  • testMethod
In the unittest framework, individual test methods should start with the word "test" (e.g., test_something). These methods contain the actual test logic that the test runner executes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *