|
# Worked-out Example: StudyPlanner
|
|
# Worked-out Example: StudyPlanner
|
|
In diesem Beispielprojekt stellen wir Ihnen Ausschnitte aus der Lösung für das Projekt _StudyPlanner_ vor. Das Programm _StudyPlanner_ ist ein Studieplanner-Tool mit dem die einzelnen Module eines Studienganges gesammelt und verwaltet werden. Eine genauer Beschreibung finden sie in dem Aufgabentext des Projekts _StudyPlanner_ .
|
|
In this worked-out example, we present parts of the solution for the project _StudyPlanner_. The program _StudyPlanner_ is a software management tool that supports students to plan their curriculum and provides statistics about the progress and average grade.
|
|
|
|
|
|
|
|
An extended description of the project's requirements can be found in the task text below.
|
|
|
|
|
|
|
|
## Task Text
|
|
|
|
|
|
## Requirement Model
|
|
## Requirement Model
|
|
|
|
|
... | @@ -40,15 +43,15 @@ The documentation of the unit tests code with Javadoc can be found [here](https: |
... | @@ -40,15 +43,15 @@ The documentation of the unit tests code with Javadoc can be found [here](https: |
|
|
|
|
|
## Product test (Partial)
|
|
## Product test (Partial)
|
|
|
|
|
|
### Example for a product test for the use case _create module_
|
|
### Example for a product test for the use case _Create Course_
|
|
| Use Case | Create Module |
|
|
| Use Case | Create Course |
|
|
| ------ | ------ |
|
|
| ------ | ------ |
|
|
| Commit-Hash | f27f695ae5a37399354f0af44d80d9bfe7201b54 |
|
|
| Commit-Hash | f27f695ae5a37399354f0af44d80d9bfe7201b54 |
|
|
| Sollergebnis | Nach der Durchführung soll ein neues Modell mit entsprechenden Daten im zugewiesenen Semester sein im Programm vorhanden sein|
|
|
| Expected result | Nach der Durchführung soll ein neues Modell mit entsprechenden Daten im zugewiesenen Semester sein im Programm vorhanden sein|
|
|
| Benötigte Eingaben |Name, Leistungspunkte und Datum der Modulprüfung, Semester|
|
|
| Needed inputs | Name, creadit points, and date of the exam of the course and the semester in which the course will be visited|
|
|
| Getestete Sonderfälle |Ungültige Eingaben wie leerer Name und negative bzw. 0 Leistungspunkte werden abgefangen|
|
|
| Special cases | Invalid inputs like empty course name and credit points less than 1 are not possible. An error message is displayed in this case.
|
|
| Aufgetretene Fehler | keine |
|
|
| Errors | none |
|
|
| Testergebnis | ✓ |
|
|
| Test result | ✓ |
|
|
|
|
|
|
## The finished product
|
|
## The finished product
|
|
|
|
|
... | | ... | |