Skip to content
Examples

biking2 arc42 section 10

Quality Requirements

Quality Tree

Quality tree

Evaluation Scenarios

Testability / Coverage

By using JaCoCo during development and the build process, ensure a code coverage of at least 95%.

Testability / Independent from external services

The architecture should be designed such that algorithms depending on external services can be tested without the external service being available — all external dependencies should be mockable.

Example: FetchBikingPicturesJob needs a resource containing an RSS feed. Retrieving the resource and parsing it are two separate tasks. Fetching the resource through a separate class, DailyFratzeProvider, makes testing the actual parsing independent from an HTTP connection, and thus relatively simple.