New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add attribute to @Tested for enabling "fully initialized" tested objects #6

Closed
rliesenfeld opened this Issue Jul 15, 2014 · 0 comments

Comments

1 participant
@rliesenfeld
Member

rliesenfeld commented Jul 15, 2014

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.

@rliesenfeld rliesenfeld self-assigned this Jul 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment