One of the goal of the OpenTextSummarizer project was to add tests and make the code a bit more customizable, while learning a bit more about the library. I decided that those tests would be written as recommended by some people whose advice struck me as very smart:
- Erik Dietrich seeded my mind with the Target idea
- Phil Haack presented a technique to structure unit tests
After some test code written, I started to realize that – while the tests were often simple – setting them up was taking a bit of time. So I started to look for ways to automate the test class.