Files
mongo/buildscripts/resmokelib/testing/testcases/README.md
Sean Lyons 50763ed46f SERVER-108127 Add test timeouts to Resmoke (#40419)
GitOrigin-RevId: 640931caeab20de94945e8ce9fabb1bbaedfacd5
2025-08-26 20:16:02 +00:00

4.0 KiB

TestCases

TestCases extend Python-based unittest.TestCase objects that resmoke can run as different "kinds" of tests.

Supported TestCases

Specify any of the following as the test_kind in your Suite config:

Interfaces

Top level interfaces:

  • TestCase - A test case to execute. The run_test method must be implemented.
  • ProcessTestCase - Base class for TestCases that executes an external process. The _make_process method must be implemented.

Subclasses:

Testing TestCases

Self-tests for the testcases themselves can be found in buildscripts/tests/resmokelib/testing/testcases/