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)

Project Samples

Project Activity

See All Activity >

Follow tool to test privates and use patters

tool to test privates and use patters Web Site

Other Useful Business Software
Need To Secure Your Public Cloud? Icon
Need To Secure Your Public Cloud?

Built for Developers, DevOps and Engineering Teams

View all cloud assets of AWS, Google Cloud, Azure, Kubernetes, Digital Ocean in one place. Automates security misconfigurations of assets with guidance to resolve them. Covers far beyond basic checklists. It automatically evaluates the security misconfigs of the assets & provides step-by-step guidance to resolve them
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
0
1
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 1 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5

User Reviews

Be the first to post a review of tool to test privates and use patters!

Additional Project Details

Intended Audience

Education, Developers, Quality Engineers

Programming Language

Java

Related Categories

Java Build Tools, Java Software Testing Tool, Java Computer-Aided Software Engineering (CASE) Software

Registered

2011-02-21