org.guiceyfruit.testing
Annotation Type TestScoped


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface TestScoped

This defines a Scope that lasts for a single test run.

A test conceptually comes in scope when it starts and goes out of scope when it finishes its execution (e.g., on JUnit lingo, roughly at the moment of junit.framework.TestCase#setUp() and junit.framework.TestCase#tearDown()).

Author:
Luiz-Otavio Zorzella, Danka Karwanska
See Also:
for an implementation of this scope



Copyright © 2009. All Rights Reserved.