Fabric System and CI tests
The fabric-system-tests
repository contains automated test scripts for validating the functionality and performance of the FABRIC testbed. These tests are designed to run daily and systematically to ensure the stability and reliability of the system.
fabric-system-tests/
├── tests/
│ ├── base_test.py # Base class for common test utilities
│ ├── __init__.py # Package initializer
│ ├── acceptance/ # Acceptance Tests to validate Sites after release upgrade
│ ├── daily/ # Daily Regression Test
│ └── system/ # System-level validation tests to validate new features
- Python 3.8 or higher
- Required Python packages (install using
pip install -r requirements.txt
) - Access to the FABRIC environment
- Clone the repository:
git clone https://github.com/yourusername/fabric-system-tests.git cd fabric-system-tests
- Install dependencies:
pip install -r requirements.txt
NOTE: Running tests locally, update DEBUG=TRUE
and fabric_rc
to point to the correct path in tests/base_test.py
accordingly.
Run the daily tests located in the tests/acceptance/
directory:
pytest tests/acceptance
Run the daily tests located in the tests/daily/
directory:
pytest tests/daily
Run the system-level tests located in the tests/system/
directory:
pytest tests/system
To run a specific test script, specify its path:
pytest tests/system/test_fpga_slice.py
- Test results are logged to the
output/
directory within the respective test folder. - Logs and detailed reports are available for debugging and analysis.
- Fork the repository.
- Create a feature branch:
git checkout -b feature-branch
- Commit your changes:
git commit -m "Add a meaningful commit message"
- Push to the branch:
git push origin feature-branch
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.