~/notes/testing

#testing

Problems I ran into, what I tried, and what I learned along the way. Some are finished stories, some are notes I'm still adding to.

  1. Prefer dependency injection to hardwiring resources A static utility class looked tidy, until I tried to test it. Notes on Effective Java's Item 5, and why it stuck with me. #java#design#testing
  2. Changing annotation values at runtime with Java Reflection Annotations are supposed to be fixed once the code is compiled. I needed one to change, so I went looking for where Java actually keeps them. #java#reflection#testing