You can use dynamic stubs configurations to program test case-specific stub behavior. This functionality helps you centralize complete test case configurations and removes the need to modify the stub body. You can define the stub configuration using the Test Case Editor or by modifying test case source code.

The dynamic stubs configuration functionality also includes the integrated stub expectations framework, which you can use to monitor the number of calls to a given stub or the stubs call sequence.

Dynamic stubs configuration supersedes functionality described in Functions for Stubs Driven by Test Cases, which should only be used for legacy stubs and for cases in which dynamic stubs configuration functionality is insufficient.

In this section:

  • No labels