Skip to content
Richard R. Drake edited this page Apr 14, 2024 · 2 revisions

The vvtest test harness

vvtest is a test harness designed for running verification, validation and regression type tests on workstations and on batched, cluster machines. Being a stand-alone product, it can also be used by analysts to help manage sets of simulations.

The inline documentation is obtained with vvtest --help and can be used as a reference. The current document is structured by topic.

Getting started

Header directives (#VVT: specifications)

  • General format and common attributes
  • link and copy: Soft link or copy working files into the test execution directory
  • testname: Set the name of the test or define multiple test names in the same file
  • enable: Enable or disable a test based on platforms and options
  • skipif: Skip tests based on evaluation of a python expression
  • keywords: Arbitrary keyword strings and implicit keywords
  • parameterize: Create multiple test instances with different parameter names and values
  • analyze: Define an analysis test for a parameterized test
  • sources: Associate additional source files with a test
  • timeout: Set a specific runtime limit for a test
  • baseline: Define a baseline or re-baseline operation
  • include: Read and insert files containing more directives
  • depends on: Specify test-to-test dependencies
  • preload: Define a label to pass to the preload user plugin function

Parameterizing tests

Runtime behaviors

Configuration

More

Clone this wiki locally