This repository contains the HtmlUtil.java
class from Robert C. Martin's Clean Code handbook (p. 32) or rather
from FitNesse.
We use this project as a starting point for a fist simple refactoring task on function-level.
To run the application, the following should be installed:
- git
- JDK (e.g., AdoptOpenJDK)
- Optionally, Apache Maven
In the command line, run the following:
git clone https://github.com/fortiss-cce/fitnesse-html-util.git
cd fitnesse-html-util
./mvnw clean install
- Create a fork of this repository
- Try to understand HtmlUtil.java and HtmlUtilTest.java
- Refactor the HtmlUtil.java to the best of your belief
- Create a pull request to submit you proposals