An open API service indexing awesome lists of open source software.

https://github.com/cavejay/csse2310_ass3_tests

Tests for CSSE2310 Assignment 3, Semester 2 2014
https://github.com/cavejay/csse2310_ass3_tests

Last synced: about 1 year ago
JSON representation

Tests for CSSE2310 Assignment 3, Semester 2 2014

Awesome Lists containing this project

README

          

CSSE2310 Assignment 3 Tests
===================

This is a collection of student created tests for Assignment 3 of CSSE2310 Semester 2 2014.

Please feel free to collaborate and submit a pull request if you add your own tests, if you think a test is incorrect or the spec has been misinterpreted please raise an issue [here.](https://github.com/timdrew/csse2310_ass3_tests/issues)

Tests for the hub including and scripts for the autogeneration of test cases have now been added.

Usage:
-----------

Tests are run by executing tscript.sh, this will result in terminal output displaying a list of tests run and PASS/FAIL status, a folder with test output files will also be created.

__tscript.sh arguments:__ binname tests_dir name

__binname:__ The name of the executable you wish to test.

__tests_dir:__ The root of this repository.

__name:__ The name of the group of tests you with to run e.g. "player" or "hub", this name property will be used to select which tests_${name}.txt file to run. Test output will also be stored in a ${name}_test_output folder.

__Sample usage:__

my_tests/tscript.sh ./player my_tests player
my_tests/tscript.sh ./hub my_tests hub

Disclaimer:
-------------

This software is provided "As is" and no guarantee is given as to its reliability or accuracy. Make sure you check your the assignment specification as I take no responsibility for lost marks.

tscript.sh is based on a script created by Joel Fenwick and is reused with his permission.