/learning-tests

Uses unit tests to experiment with common libraries and frameworks.

Primary LanguageJava

Learning Tests

I created this project to allow me to improve my understanding of common open-source libraries and frameworks. The project uses unit tests to perform controlled experiments of third-party APIs. I was inspired to use this approach by Robert C. Martin's Clean Code1. Jim Newkirk calls such tests learning tests2.

Learning tests provide a convenient mechanism for exploring an API in an isolated, incremental and reproducible way. They also provide a demonstrably accurate form of documentation for future reference.

The aim of this project is to provide an introduction to various libraries and frameworks, rather than providing comprehensive test coverage of all their features.

Resources

  1. Clean Code, Robert C. Martin, Prentice Hall, 2009.
  2. Test Driven Development, Kent Beck, Addison-Wesley, 2003.