Past Software Development 1 examinations
Solutions to implementation tasks are being provided below https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/tree/master/Klausuren/Sd1. Each sub folder contains:
-
An
Exam
Folder containing the original implementation tasks. -
A
Solve
folder containing a proposed solution.
The number of points reached by passing the automated tests can be obtained by command line execution. Example:
> unzip solution.zip
Archive: solution.zip
creating: Exam/
...
> cd Exam
> mvn compile test-compile
[INFO] Scanning for projects...
[INFO] ...
> mvn -Dmaven.test.skip=true package
[INFO] Scanning for projects...
[INFO] ...
This generates an executable Jar file like e.g. target/Test001-0.9-fat-tests.jar yielding the number of points:
> java -jar target/Test001-0.9-fat-tests.jar
Task 1: 12/14
TestGetMinimumOfTwo: 6/6
TestGetMinimumOfThree: 2/4
TestSleepIn: 4/4