With dp4j.jar in your project classpath you directly access private members in your tests, w/o Reflection API boilerplate code; It also generates Design Patterns code and compile-time validates implementations. And Compiler & Co work for you again!
Features
- Test private methods (and fields) from your tests w/o writing code (it'll be injected)
- Implement (and/or validate) the Singleton Pattern by adding @Singleton to the class declaration
- Access Design Patterns documentations as JavaDoc of @PatternName (eg. @TemplateMethod)
- In your tests change a final (constant) field w/o writing code, except for '= what you want' (again, it'll be injected)
Follow tool to test privates and use patters
Other Useful Business Software
Passwordless Authentication and Passwordless Security
It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Rate This Project
Login To Rate This Project
User Reviews
-
Very great and useful idea! Why I didn't find it previously?