Skip to main content

ReFrame is a framework for writing regression tests for HPC systems

Project description

Build Status Documentation Status codecov.io
GitHub release (latest by date including pre-releases) GitHub commits since latest release GitHub contributors
PyPI version PyPI - Python Version
Slack
License DOI
Twitter Follow

ReFrame in a Nutshell

ReFrame is a framework for writing regression tests for HPC systems. The goal of this framework is to abstract away the complexity of the interactions with the system, separating the logic of a regression test from the low-level details, which pertain to the system configuration and setup. This allows users to write easily portable regression tests, focusing only on the functionality.

Regression tests in ReFrame are simple Python classes that specify the basic parameters of the test. The framework will load the test and will send it down a well-defined pipeline that will take care of its execution. The stages of this pipeline take care of all the system interaction details, such as programming environment switching, compilation, job submission, job status query, sanity checking and performance assessment.

Writing system regression tests in a high-level modern programming language, like Python, poses a great advantage in organizing and maintaining the tests. Users can create their own test hierarchies, create test factories for generating multiple tests at the same time and also customize them in a simple and expressive way.

Please visit the project's documentation page for all the details!

Installation

ReFrame is fairly easy to install. All you need is Python 3.6 or above and to run its bootstrap script:

git clone https://github.com/eth-cscs/reframe.git
cd reframe
./bootstrap.sh
./bin/reframe -V

If you want a specific release, please refer to the documentation page.

Running the unit tests

You can optionally run the framework's unit tests with the following command:

./test_reframe.py -v

NOTE: Unit tests require a functional C compiler, available through the cc command, that is also able to recognize the -O2 option. The GNU Make build tool is also needed.

Building the documentation locally

You may build the documentation of the master manually as follows:

./bootstrap.sh +docs

For viewing it, you may do the following:

cd docs/html
python3 -m http.server

The documentation is now up on localhost:8000, where you can navigate with your browser.

Examples of Regression Tests

In the cscs-checks/ folder, you can find realistic regression tests used for the CSCS systems that you can reuse and adapt to your system. Notice that these tests are published as examples and may not run as-is in your system. However, they can serve as a very good starting point for implementing your system tests in ReFrame.

Contact

You can get in contact with the ReFrame community in the following ways:

Slack

Please join the community's Slack channel for keeping up with the latest news about ReFrame, posting questions and, generally getting in touch with other users and the developers.

Mailing list

You may also subscribe to the mailing list. Only subscribers can send messages to the list. For unsubscribing, you may send an empty message here.

Contributing back

ReFrame is an open-source project and we welcome and encourage contributions! Check out our Contribution Guide here.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ReFrame-HPC-3.7.3.tar.gz (163.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ReFrame_HPC-3.7.3-py3-none-any.whl (193.1 kB view details)

Uploaded Python 3

File details

Details for the file ReFrame-HPC-3.7.3.tar.gz.

File metadata

  • Download URL: ReFrame-HPC-3.7.3.tar.gz
  • Upload date:
  • Size: 163.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for ReFrame-HPC-3.7.3.tar.gz
Algorithm Hash digest
SHA256 7bca68b6f58d0ea3f057ea8e70d0225fe4df6f2b5ff7510da692570da794cfcc
MD5 6c81f2e2d83812908ab59962ad11ceb9
BLAKE2b-256 1cd97d105c66373fc9191775a18c623bf7f3d2dfb25f88ef02b128b7db75596b

See more details on using hashes here.

File details

Details for the file ReFrame_HPC-3.7.3-py3-none-any.whl.

File metadata

  • Download URL: ReFrame_HPC-3.7.3-py3-none-any.whl
  • Upload date:
  • Size: 193.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for ReFrame_HPC-3.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18bf10fded22c7ed053b086533d304a050610a033a1804f05bbb09992d05531c
MD5 8dd8ed053ee92360428923c6571e708d
BLAKE2b-256 d249a46400e0af31aaabe700e9588c7f792d6d745bd1a2773074d58f20f90811

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page