SE320 Assignment 2
Verification and Validation of the Soccer Tournament Simulator (SRS) Software
Your are asked to verify and validate the STS (Soccer Tournament Simulator):
- Black box testing of STS: Using the SRS as a guide, create equivalence
partitions for the STS input. Then implement a set of test cases (as executable
programs) that cover the partitions.
- Syntax testing: Using the BNF in the SRS as your guide, implement a set of
test cases to test the effectiveness of the input file recognizer (scanner and
- White box testing of STS: Implement a set of test cases to test the code
of STS while achieving adequate statement coverage (e.g., 100%, or less if
there is non-executable code).
- Validation: Describe how you would validate the STS requirements as
specified in the SRS. E.g., demonstrate that teams are created, tournaments are
run, results are produced, game playing algorithms are realistic, etc. You may
need to implement a class (called Printer, for example) that produces a variety
of outputs to help you validate STS. For example, you might want to print the
pitch showing the player roaming regions, among other things.
- Deliverables: All test case programs, a single report describing (a) your
testing approach, (b) how to execute your test cases, (c) the faults you found
and how they can be reproduced, (d) faults in the SRS and inconsistencies
between the SRS and the STS software (e) validation tests and outcomes.
The SRS and source code of STS is available below:
Download the following tools to help automate the testing process:
More documentation about the testing tools can be found at:
Here are older trusted versions of junit and emma, but try the latest versions first: