This repository aims to gather all tests related to supported devices. Tests are written in the Robot Framework and should be performed on the dedicated test stand.
Name of the device | Support | Test stand documentation | Test cases description |
---|---|---|---|
SDwire | Full | Documentation | Test cases description |
git clone git@gitlab.com:3mdeb/rte/hardware-presale-validation.git
cd hardware-presale-validation
git submodule update --init --checkout
virtualenv -p $(which python3) robot-venv
source robot-venv/bin/activate
pip install -U -r requirements.txt
If you initialize the environment and try to run the environment again you just need to use only this command:
source robot-venv/bin/activate
To run testing script dedicated for the currently testing platform run in terminal with active virtual environment the following command:
robot -L TRACE -v stand_ip:$STAND_IP -v device:$TESTED_DEVICE -v serial_number:$SERIAL_NUMBER scripts/$SCRIPT
Where: $STAND_IP - IP address for test stand dedicated for the tested device $TESTED_DEVICE - name of the tested device $SERIAL_NUMBER - name of the requested device serial number $SCRIPT - name of the script dedicated for the tested platform
For example, to run test for the SD Wire, the following command should be used:
robot -L TRACE -v stand_ip:192.168.4.55 -v device:sd_wire -v serial_number:01-09 scripts/sd-wire.robot