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 TestCase.setUp() and TestCase.tearDown()).

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



Copyright © 2011. All Rights Reserved.