... | ... | @@ -87,7 +87,6 @@ Here the code: |
|
|
|
|
|
|
|
|
# Testing
|
|
|
|
|
|
## **Testing approach**
|
|
|
|
|
|
The approach which we took to implement tests was the heuristic and proactive approach.
|
... | ... | @@ -103,16 +102,21 @@ The Unit testing is found in the gradle task "test", which will be automaticaly |
|
|
|
|
|
The Sybsystem Integration and System Integration tests are found in the gradle task "integrationTest".
|
|
|
|
|
|
**CAUTION**: The "integrationTest" task is not in the build proces as the developer needs an active printersystem installed/acitvated on his device. It creates many printjobs, which sadly cannot be canceled due to limitations of the javax.print library (bug report is opened, see open issue). Also, the integrationtest task takes time as the plotting package works currently not efficient. Expect it to take minutes to finish.
|
|
|
**CAUTION:** The "integrationTest" task is not in the build proces as the developer needs an active printersystem installed/acitvated on his device. It creates many printjobs, which sadly cannot be canceled due to limitations of the javax.print library (bug report is opened, see open issue). Also, the integrationtest task takes time as the plotting package works currently not efficient. Expect it to take minutes to finish.
|
|
|
|
|
|
All resources which are needed for testing purposes are located either under $ROOT_DIR$/src/test/resource or $ROOT_DIR$/src/integrationTest/resource.
|
|
|
The System and Acceptance Tests were done during the final presentation and are therefore not implemented as own tests.
|
|
|
|
|
|
|
|
|
## **Heuristic**
|
|
|
The heuristics that we choose are the following (with the actual achieved coverage in percent)
|
|
|
* LOC Coverage: 80%
|
|
|
* Class Coverage: 91%
|
|
|
The heuristics that we choose are the following
|
|
|
* LOC Coverage
|
|
|
* Class Coverage
|
|
|
* Method Coverage
|
|
|
|
|
|
Here an overview with the achieved percentage:
|
|
|
|
|
|
![TestingOverview](uploads/f64760d7d20e3446b64721edf253aba5/TestingOverview.PNG)
|
|
|
|
|
|
# User Study
|
|
|
|
... | ... | |