Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Latest commit

 

History

History
64 lines (41 loc) · 1.67 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.67 KB

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.