HtmlSanityCheck arc42 section 4
Solution Strategy
Content and Motivation
You need a brief summary and explanation of the fundamental solution ideas and strategies. These key ideas should be familiar to everyone involved in development and architecture.
Briefly explain how you achieve the most important quality requirements.
- Implement HtmlSC mostly in the Groovy programming language and partially in Java with minimal external dependencies.
- We wrap this implementation into a Gradle plugin, so it can be used within automated builds. Details are given in the Gradle userguide. (The Maven plugin is still under development).
- Apply the template-method-pattern
to enable:
- multiple checking algorithms. See the concept for checking algorithms,
- both HTML (file) and text (console) output. See the reporting-concept.
- Rely on standard Gradle and Groovy conventions for configuration, having a single configuration file.
- For the Maven plugin, this might lead to problems.