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
- Host: GitHub
- URL: https://github.com/cavejay/csse2310_ass3_tests
- Owner: cavejay
- Created: 2014-09-17T11:54:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-03T08:31:28.000Z (over 11 years ago)
- Last Synced: 2023-08-18T15:39:13.676Z (almost 3 years ago)
- Language: Shell
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.