- Revision
- 1641
- Author
- mauro
- Date
- 2010-05-14 05:43:52 -0500 (Fri, 14 May 2010)
Log Message
JBEHAVE-287: Better style and documentation.
Modified Paths
Diff
Modified: trunk/core/distribution/src/site/content/pending-steps.html (1640 => 1641)
--- trunk/core/distribution/src/site/content/pending-steps.html 2010-05-13 21:57:37 UTC (rev 1640) +++ trunk/core/distribution/src/site/content/pending-steps.html 2010-05-14 10:43:52 UTC (rev 1641) @@ -35,13 +35,14 @@ <p>It may be sometimes useful to run in dry-run mode, checking if any steps are pending but without actually executed any of the steps, as this may take a considerable time. The dry-run mode may be enabled via -the StepsConfiguration:</p> +the <a + href="" <pre class="brush: java"> StepsConfiguration stepsConfiguration = new StepsConfiguration(); stepsConfiguration.useMonitor(new PrintStreamStepMonitor()); // default is SilentStepMonitor() stepsConfiguration.doDryRun(true); // default is "false" -Steps steps = new StepsFactory(stepsConfiguration, new MySteps()); +new StepsFactory(stepsConfiguration).createCandidateSteps(new MySteps()); </pre> <p>We've here configured the steps to use a verbose monitoring, so that the use can see that in dry-run mode
Modified: trunk/core/jbehave-core/src/behaviour/java/org/jbehave/scenario/i18n/keywords_it.properties (1640 => 1641)
--- trunk/core/jbehave-core/src/behaviour/java/org/jbehave/scenario/i18n/keywords_it.properties 2010-05-13 21:57:37 UTC (rev 1640) +++ trunk/core/jbehave-core/src/behaviour/java/org/jbehave/scenario/i18n/keywords_it.properties 2010-05-14 10:43:52 UTC (rev 1641) @@ -14,4 +14,4 @@ Pending=PENDENTE NotPerformed=NON ESEGUITO Failed=FALLITO -DryRun=Esecuzione Simulata: i passi non sono stati eseguiti +DryRun=ESECUZIONE SIMULATA
Modified: trunk/core/jbehave-core/src/main/resources/style/jbehave-reports.css (1640 => 1641)
--- trunk/core/jbehave-core/src/main/resources/style/jbehave-reports.css 2010-05-13 21:57:37 UTC (rev 1640) +++ trunk/core/jbehave-core/src/main/resources/style/jbehave-reports.css 2010-05-14 10:43:52 UTC (rev 1641) @@ -174,9 +174,12 @@ .dryRun { border: solid; - color: red; + color: amber; + background-color: yellow; margin-left: 12px; padding: 10px; + font-size: 20px; + text-align: center; text-weight: bold; }
To unsubscribe from this list please visit:
