ska-sa / AVNTests

AVN Correlator Unit and Acceptance Testing based Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AVNTests

Codacy Badge

African VLBI Network (AVN) Correlator Unit and Acceptance Testing based Framework

Installation

Python Core packages

Install dependencies to the system, by following their installation instructions:

Python testing dependencies packages

It is highly recommended to install dependencies on a Python virtual environment.

Setup Virtualenv

Step-by-step instructions.

# Install Python essentials and pip
curl -s https://bootstrap.pypa.io/get-pip.py | python
pip install --user virtualenv # or sudo pip install virtualenv

# Install testing dependencies in the virtualenv
git clone https://github.com/ska-sa/AVNTests
cd AVNTests
make bootstrap

Usage

You will need to create a $(pwd)/.env file which contains:

touch .env

echo "USERNAME=<Username on Host - usually: avn>" >> "$(pwd)/.env"
echo "PASSWORD=<Password>" >> "$(pwd)/.env"
echo "HOSTIP=<Signal Generator IP>" >> "$(pwd)/.env"
echo "KATCPIP=<katcp host IP>" >> "$(pwd)/.env"

Unit Testing

Running unit-testing.

make channelisation # This will run channelisation (Defined) test only

Contributors

  • Mpho Mphego
  • Alec Rust
  • James Smith

Feedback

Feel free to fork it or send me PR to improve it.

About

AVN Correlator Unit and Acceptance Testing based Framework


Languages

Language:Python 99.3%Language:Makefile 0.7%