Welcome to buildtest documentation. buildtest is a HPC Application Testing Framework designed to build tests quickly verify an entire HPC software stack that operates in a module environment.
This documentation was last rebuild on |today| and is intended for version |version|.
This project is in development and lead by Shahzeb Siddiqui
Contents:
.. toctree:: :glob: :maxdepth: 2 Setup Features_of_buildtest Architecture Writing_Test_In_YAML How_to_use_BuildTest Future_Work
buildtest is an Automatic Test Generating Framework for writing test cases efficiently and quickly for scientific applications. buildtest will generate test scripts for any app/version automatically and tests can be recreated as many times. buildtest makes use of EasyBuild easyconfig files to determine which module + toolchain to use. You will need module environment EnvironmentModules or Lmod on your system to use this framework
An HPC environment has hundreds of application that running constantly, the HPC engineers would build these apps and put them on production system. Some of the application have vendor provided scripts such as make test or ctest that can test the software after make step. Unfortunately, these methods perform tests in the build directory and does not perform a Post Install Test. Changing the vendor test script to the install paths can be tedious and this would have to be done manually.
Writing test scripts manually can be tedious, also there is no sharing of code and most likely they are not compatible to work at other HPC sites. Easybuild takes a step at improving application build process by automating the entire software workflow that can be built on any HPC site .
buildtest takes a similar approach as EasyBuild but focusing on application testing.
buildtest will focus on the following key elements
- Provide a test toolkit with test examples for all HPC apps
- Provide quick means for doing functional testing
- Generate tests to be run with job scheduler to verify apps on all Nodes
- Provide performance metrics for tests scripts
- Integrate application benchmarks to buildtest for stress testing
buildtest is a python script that can generate self-contained testscripts in shellscript (.sh). The test scripts can be run independently but they are designed to work in CMake CTest Framework.
buildtest can do the following:
- Creates test for binary testing, scripting tests, and compilation tests
- Verify modulefile can be loaded.
- generate tests for system packages
- List software packages provided by MODULEPATH
- List available toolchains
- List software packages by versions
- Support for logging
- Search for YAML and test scripts
- build tests easily for scripting languages (R, Python, Perl, Ruby, Tcl)
- Run tests through an interactive menu
- Scan tests and report which ones can be built with buildtest
- buildtest - The buildtest documentation
- buildtest-framework - The buildtest Testing framework
- buildtest-configs - buildtest YAML configs for generic apps
- R-buildtest-config - R test scripts repository
- Perl-buildtest-config - Perl test scripts repository
- Python-buildtest-config - Python test scripts repository
- Tcl-buildtest-config - Tcl test scripts repository
- Ruby-buildtest-config - Ruby test scripts repository