Title: [885] trunk/jbehave-core/src/behaviour/org/jbehave/scenario/ScenarioBehaviour.java: [Liz] Better documentation of reporting and explanation of why I haven't written an example
Revision
885
Author
sirenian
Date
2008-08-20 07:25:19 -0500 (Wed, 20 Aug 2008)

Log Message

[Liz] Better documentation of reporting and explanation of why I haven't written an example

Modified Paths

Diff

Modified: trunk/jbehave-core/src/behaviour/org/jbehave/scenario/ScenarioBehaviour.java (884 => 885)

--- trunk/jbehave-core/src/behaviour/org/jbehave/scenario/ScenarioBehaviour.java	2008-08-20 12:15:55 UTC (rev 884)
+++ trunk/jbehave-core/src/behaviour/org/jbehave/scenario/ScenarioBehaviour.java	2008-08-20 12:25:19 UTC (rev 885)
@@ -136,13 +136,17 @@
     }
     
     @Test
-    public void shouldAllowPassingScenariosToBeSilent() throws Throwable {
+    public void shouldAllowAllScenariosToBeReportedToOutput() throws Throwable {
     	System.setProperty(PropertyBasedConfiguration.OUTPUT_ALL, "true");
         
     	// The only way to test this would be to replace the reporter in the configuration.
+    	//
     	// As a JBehave user, I want to change reporters so that the reporter I specify 
-    	// is the one that's used. Doing anything which would allow this to be testable
-    	// would conflict with that intuitive use! So, 
+    	// is the one that's used.
+    	//
+    	// Doing anything which would allow this to be testable - such as allowing
+    	// dependency injection of a delegate reporter - would conflict with that 
+    	// intuitive use! So, I'm not writing an automated example for this.
     }
     
     @Test


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to