Git Product home page Git Product logo

reframe's Introduction

Build Status Documentation Status codecov.io PyPI version License Slack

ReFrame

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.

Getting ReFrame

You may install ReFrame directly from PyPI through pip:

pip install reframe-hpc

ReFrame will be available in your PATH:

reframe -V

Alternatively, and especially if you want to contribute back to the framework, you may clone this repository:

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

Finally, you may access all previous versions of ReFrame here.

Documentation

You may find the official documentation of the latest release and the current master in the following links:

Building the documentation locally

You may build the documentation of the master locally either with Python 2 or Python 3. Here is how to do it:

pip install -r docs/requirements.txt
make -C docs latest

For viewing it, you may do the following:

cd docs/html
python -m http.server # or python -m SimpleHTTPServer for Python 2

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:

Mailing list

For keeping up with the latest news about ReFrame, posting questions and, generally getting in touch with other users and the developers, you may follow the mailing list: [email protected].

Only subscribers may send messages to the list. To subscribe, please send an empty message to [email protected].

For unsubscribing, you may send an empty message to [email protected].

Slack

You may also reach the community through Slack here.

reframe's People

Contributors

ajocksch avatar aurianer avatar boegel avatar christopherbignamini avatar giuseppelore avatar jfavre avatar jgphpc avatar kraushm avatar lucamar avatar lxavier avatar omlins avatar rsarm avatar sekelle avatar teojgo avatar victorusu avatar vkarak avatar zqyou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.