Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd attribute to @Tested for enabling "fully initialized" tested objects #6
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For integration testing purposes, it would be very useful that @tested could still be used, with dependencies getting automatically injected with real instances (recursively) where no @Injectables were provided.
The main use case is the creation of integration tests for Java EE 6+ application classes. For example, tests for JSF backing beans which exercise the whole stack, including all EJBs and the database through a JPA EntityManager.