Skip to content

PC Based Assessment #1 – Weighting 15% of overall module

Agile Design and Testing

Thursday 18th Oct 2018 10.00 - 12.00

Notes on marking scheme:-

  1. Your production code and your test code must compile. Automatic zero for non-compiling code.
  2. You should achieve 100% (or as close as possible) code coverage in the production code. Marks will be deducted if you have completed all the tests but have redundant code (code that is not covered). If you have untested code due to uncompleted tests then you will lose the marks for the uncompleted tests.
  3. Your test should be passing before it will be marked. No marks for partially completed/failing tests or for partially completed code. Just because you get a “green bar” does not mean that the test is correct.
  4. Marks will be deducted if some boundary values are missed. Marks will also be deducted if you include random values (values that are not boundary values).
  5. You must use parameterised tests using JUnitParamsRunner.
  6. Marks will also be allocated for using meaningful variable /method names including the use of constants if appropriate to make your tests readable.
  7. What to submit :- 1. A zip file of your code.