Title: [907] trunk/jbehave-core/src/java/org/jbehave/scenario: [Liz] Might help if Scenario told people how to start.
Revision
907
Author
sirenian
Date
2008-08-30 02:56:19 -0500 (Sat, 30 Aug 2008)

Log Message

[Liz] Might help if Scenario told people how to start.

Modified Paths


Diff

Modified: trunk/jbehave-core/src/java/org/jbehave/scenario/Scenario.java (906 => 907)

--- trunk/jbehave-core/src/java/org/jbehave/scenario/Scenario.java	2008-08-30 07:53:24 UTC (rev 906)
+++ trunk/jbehave-core/src/java/org/jbehave/scenario/Scenario.java	2008-08-30 07:56:19 UTC (rev 907)
@@ -5,13 +5,16 @@
 import org.junit.Test;
 
 /**
- * <p>
- * A scenario is a collection of candidate steps that need to be run using a scenario runner.
- * </p>
- * <p>Users extend Scenario by providing candidate steps appropriate for the behaviour</p>
+ * <p>Extend this class to run your scenario. Call the class after your
+ * scenario, eg: "ICanLogin".
  * 
- * @author Elizabeth Keogh
- * @author Mauro Talevi
+ * <p>The Scenario shoudl be in a matching text file in the same place, 
+ * eg: "i_can_login"
+ * 
+ * <p>Write some steps in your scenario, starting each new step with
+ * Given, When, Then or And.
+ * 
+ * <p>Then look at the Steps class.
  */
 public abstract class Scenario {
 

Modified: trunk/jbehave-core/src/java/org/jbehave/scenario/steps/Steps.java (906 => 907)

--- trunk/jbehave-core/src/java/org/jbehave/scenario/steps/Steps.java	2008-08-30 07:53:24 UTC (rev 906)
+++ trunk/jbehave-core/src/java/org/jbehave/scenario/steps/Steps.java	2008-08-30 07:56:19 UTC (rev 907)
@@ -32,7 +32,7 @@
  * 
  * <p><code>When I log in as Liz with password: Pa55word</code>
  * 
- * <p>When the step is perfomed, the two parameters in the scenario definition
+ * <p>When the step is perfomed, the parameters in the scenario definition
  * will be passed to the class, so in this case the effect will be
  * 
  * <p><code>mySteps.logIn("Liz", "Pa55word");</code>


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to