-
Notifications
You must be signed in to change notification settings - Fork 2
markingTDD
Richard R. Drake edited this page Jun 8, 2022
·
1 revision
In a Test Driven Development workflow, tests may be added that fail or diff as the code is being developed to support the test. The vvtest harness has a feature to help separate the production tests that are always expected to pass, from those tests that are known to fail/diff or are under development.
Very simply, a test can be marked as a "TDD" test by adding the keyword "TDD" to the keywords (use upper case). Tests that are marked TDD will not run by default (they will be silently skipped). To include tests that are marked TDD, you have to add the --include-tdd command line option to vvtest. If you only want to run TDD tests, use --include-tdd -k TDD.