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

AVN Correlator Unit and Acceptance Testing based Framework

Notifications You must be signed in to change notification settings

ska-sa/AVNTests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published