Commits

Micha Kops committed e2efba7

test scope added and annotations optimized.

Comments (0)

Files changed (3)

   		<groupId>junit</groupId>
   		<artifactId>junit</artifactId>
   		<version>4.10</version>
+  		<scope>test</scope>
   	</dependency>
   </dependencies>
 </project>

src/test/java/com/hascode/tutorial/ConsoleOut.java

 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.METHOD })
 public @interface ConsoleOut {
-	boolean value() default true;
 }

src/test/java/com/hascode/tutorial/ConsoleOutRule.java

 		System.out.println("rule applied. note: " + note);
 		return base;
 	}
-
 }