On this section, we you can find all different types of tests we developed forSlapOS Project. We have 4 different groups of Test Suites: Unit Tests, Resilience Tests, Agent Tests for Development and Agent Tests for Production.
The Unit tests are usual Unit Tests which run on every commit on certain repositories to ensure that the latest code is working as expected. Among the unit tests we have 3 types Test Suites:
The Software Release Unit tests are usual Unit Tests which run on every commit on certain repositories to ensure that the latest code is working as expected. Each test, build the Software Release from scratch, create instances with various parameters and assert that instance is functional with the provided parameters.
SLAPOS-WR-UNITTEST uses an old approach, please prefer SLAPOS-SR-TEST approach.
Resilience tests aims to test resilience on different softwares and configurations which uses it. Those tests are executed under ERP5 Test Node on a single computer partition, and it is designed to verify if the code works, ignoring the factors related to distributed services across internet. On this we have 4 different test suites:
Deployment tests aims to test the deployment scripts based on the ansible playbooks designed to setup an server (or an environment) using a Virtual Machine. Each Test Suite tries to describe an specific deployment (ie.: ERP5 Standalone) on a specific Linux Distribution (ie.: Debian).
Test Agents for Development are designed for every commit on a watched branch, it request the deployment (currently only supply) of one software release on one specific computer. Later on, the agent verifies if the deployment succeed or not, and them remove the deployment. By doing so, we can ensure for a certain branch a set of software releases can be built successfully.
All computers used for this deployement, upload to the sources and binaries into shacache used on SlapOS project. On this we have 3 different types of test suites:
Test Agents for Production are designed to request, on VIFIB Master, instances from the latest software releases available with different software types and parameters. It happens once a day in order to guarantee that customers of one SlapO Master can request new services. On this we have 2 different types of test suites:
Here bellow you can find the latest results for the slapos project.