Adaptive computational fluid dynamics
UnitTest: Unit test suite

UnitTest is a fully asynchronous distributed-memory-parallel unit test harness, running hundreds of tests per second, capable of testing serial, synchronous (e.g., MPI), and asynchronous (e.g., Charm++) functions.

UnitTest uses the Charm++ runtime system to run the tests concurrently, either on a single machine or a networked set of computers. The software design is fully asynchronous, yielding 100% CPU utilization at all times, independent of the time taken by the individual tests.

In Quinoa unit tests are written using the C++ Template Unit Test framework. The tests are organized into directories under src/UnitTest/tests mirroring the directories of the tested code.

Help on command-line parameters

As usual, use the -h command-line parameter to get on-screen help from an executable. Example output, excluding Charm++ command-line parameters:

$ unittest -h
unittest Command-line Parameters:
-g, --group string Select test group(s) to run
-h, --help Display one-liner help on all command-line arguments
-H, --helpkw string Display verbose help on a single keyword
-v, --verbose Select verbose screen output

Page last updated: Thu 06 Apr 2017 10:38:58 AM MDT Copyright 2012-2015, J. Bakosi, 2016-2018, Los Alamos National Security, LLC.