diff --git a/serenity-core/cap.html b/serenity-core/cap.html new file mode 100644 index 0000000000..e77d38a08f --- /dev/null +++ b/serenity-core/cap.html @@ -0,0 +1,976 @@ +serenity.test.root = net.serenitybdd.demos.todos.features + + + + + + + Requirements + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+
+
+ + +
+
+
+ + Home + +
+
+
+ +
+ + + +
+ + Report generated 02-11-2015 08:51 +
+
+ +
+ +
+
+
+
+ +
+
+
+
+

Requirements Overview

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Requirement TypeTotalPass Fail Pending Ignored Untested 
Features210103
Stories200202
Acceptance Criteria (tests)179710
+
+ + + + + +
+

Test Result Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test TypeTotalPass  Fail Pending Ignored 
Automated179 (53%)7 (41%)1 (6%)0 (0%)
Manual00 (0%)0 (0%)0 (0%)0 (0%)
Total179 (53%)7 (12%)1 (6%)0 (0%)
Total Duration1 minutes 38 seconds
+
+
+
+
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 IDFeatureStoriesAuto.
Tests
+ + Manual
Tests
> + >> + Coverage
+ + 1 + + + Filter my todos in jbehave +
Filter my todos in jbehave
+
100000000000 + + + + + + + + +
+
0%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + 1 + + + Record todos +
Record todos
+
111000000000 + + + + + + + + +
+
20%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Acceptance TestsStepsDuration
(seconds)
+ + COMPROMISED + A compromised step + 10
+ + ERROR + A step error + 10.01
+ + FAILURE + A step failure + 10.01
+ + SUCCESS + Complete a todo action + 64.54
+ + SUCCESS + Delete a completed todo + 156.77
+ + SUCCESS + Delete an active todo + 134.4
+ + SUCCESS + Display only Active tasks + 168.55
+ + PENDING + New todos should also make coffee + 53.52
+ + SUCCESS + New todos should be marked as Active + 74.26
+ + SUCCESS + Record a new todo action for future use + 69.44
+ + SUCCESS + Several users add new todos + 2410.66
+ + SUCCESS + Should be able to clear completed actions from the todo list + 76.04
+ + FAILURE + Should be able to remove cat related completed items from the todo list + 1212.76
+ + SUCCESS + Should be able to remove completed items from the todo list + 128.08
+ + ERROR + Should be able to remove dog related completed items from the todo list + 96.07
+ + COMPROMISED + Should be able to remove dog when the mainframe is down + 95.92
+ + COMPROMISED + Should be able to remove dog when the mainframe is down at the end of the test + 127.48
+
+
+
+
+
+
+
+
+ + +
+ Serenity BDD version 1.1.18-SNAPSHOT +
+ + diff --git a/serenity-core/cap2.html b/serenity-core/cap2.html new file mode 100644 index 0000000000..107540feb8 --- /dev/null +++ b/serenity-core/cap2.html @@ -0,0 +1,1072 @@ + + + + + + + Requirements + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+
+
+ + +
+
+
+ + Home + +
+
+
+ +
+ + + +
+ + Report generated 02-11-2015 22:25 +
+
+ +
+ +
+
+
+
+ +
+
+
+
+

Requirements Overview

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Requirement TypeTotalPass Fail Pending Ignored Untested 
Capabilities311100
Features742100
Acceptance Criteria (tests)1710210
+
+ + + + + +
+

Test Result Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test TypeTotalPass  Fail Pending Ignored 
Automated1710 (59%)6 (35%)1 (6%)0 (0%)
Manual00 (0%)0 (0%)0 (0%)0 (0%)
Total1710 (59%)6 (12%)1 (6%)0 (0%)
Total Duration1 minutes 36 seconds
+
+
+
+
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 IDCapabilityFeaturesAuto.
Tests
+ + Manual
Tests
+ + Coverage
+ + 3 + + + Filter todos +
I need to be able to filter my todos by their status
These features illustrate using Cucumber step definitions with Serenity steps for the task layer.
+
11100000000 + + + + + + + + +
+
100%
+
+
+
+
+
+
+
+
+
+
+
+
+ + 1 + + + Maintain my todo list +
I want to be able to edit or delete entries if I make a mistake
+
411502400000 + + + + + + + + +
+
45.5%
+
+
+
+
+
+
+
+
+
+
+
+
+ + 0 + + + Recording todos +
I want to be able to store my actions quickly and easily so that I don't need to keep them all in my head
These features illustrate using Page Objects directly with Cucumber step definitions.
+
25410000000 + + + + + + + + +
+
80%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Acceptance TestsStepsDuration
(seconds)
+ + SUCCESS + A compromised step + 10
+ + ERROR + A step error + 10.01
+ + FAILURE + A step failure + 10.01
+ + SUCCESS + Complete a todo action + 64.82
+ + SUCCESS + Delete a completed todo + 156.9
+ + SUCCESS + Delete an active todo + 134.24
+ + SUCCESS + Display only Active tasks + 168.82
+ + PENDING + New todos should also make coffee + 53.57
+ + SUCCESS + New todos should be marked as Active + 74.27
+ + SUCCESS + Record a new todo action for future use + 64.1
+ + SUCCESS + Several users add new todos + 2415.47
+ + SUCCESS + Should be able to clear completed actions from the todo list + 76.7
+ + FAILURE + Should be able to remove cat related completed items from the todo list + 128.57
+ + SUCCESS + Should be able to remove completed items from the todo list + 1210.09
+ + ERROR + Should be able to remove dog related completed items from the todo list + 86.32
+ + ERROR + Should be able to remove dog when the mainframe is down + 86.12
+ + ERROR + Should be able to remove dog when the mainframe is down at the end of the test + 86.07
+
+
+
+
+
+
+
+
+ + +
+ Serenity BDD version 1.1.17 +
+ + + diff --git a/serenity-core/src/test/java/net/thucydides/core/steps/WhenLoggingStepEvents.java b/serenity-core/src/test/java/net/thucydides/core/steps/WhenLoggingStepEvents.java index af5949646e..c12c89b0d2 100644 --- a/serenity-core/src/test/java/net/thucydides/core/steps/WhenLoggingStepEvents.java +++ b/serenity-core/src/test/java/net/thucydides/core/steps/WhenLoggingStepEvents.java @@ -219,7 +219,7 @@ public void should_log_step_name_when_a_step_starts_if_in_verbose_mode() { environmentVariables.setProperty("thucydides.logging","VERBOSE"); consoleLoggingListener.stepStarted(ExecutedStepDescription.withTitle("some step")); - verify(logger).debug(contains("STARTING STEP"), eq("some step")); + verify(logger).info(contains("STARTING STEP"), eq("some step")); } @Test @@ -227,7 +227,7 @@ public void should_log_step_name_when_a_skipped_step_starts_if_in_verbose_mode() environmentVariables.setProperty("thucydides.logging","VERBOSE"); consoleLoggingListener.skippedStepStarted(ExecutedStepDescription.withTitle("some step")); - verify(logger).debug(contains("STARTING STEP {}"), eq("some step")); + verify(logger).info(contains("STARTING STEP {}"), eq("some step")); } @Test @@ -235,7 +235,7 @@ public void should_log_step_finish_events_if_in_verbose_mode() { environmentVariables.setProperty("thucydides.logging", "VERBOSE"); consoleLoggingListener.stepFinished(); - verify(logger).debug(contains("FINISHING STEP")); + verify(logger).info(contains("FINISHING STEP")); } @Test @@ -244,7 +244,7 @@ public void should_log_skipped_step_if_in_verbose_mode() { consoleLoggingListener.stepIgnored(); - verify(logger).debug(contains("IGNORING STEP")); + verify(logger).info(contains("IGNORING STEP")); } @Test @@ -253,7 +253,7 @@ public void should_log_pending_step_if_in_verbose_mode() { consoleLoggingListener.stepPending(); - verify(logger).debug(contains("PENDING STEP")); + verify(logger).info(contains("PENDING STEP")); } @Test @@ -262,7 +262,7 @@ public void should_log_pending_step_with_message_if_in_verbose_mode() { consoleLoggingListener.stepPending("for some reason"); - verify(logger).debug(contains("PENDING STEP ({})"), eq("for some reason")); + verify(logger).info(contains("PENDING STEP ({})"), eq("for some reason")); } private TestOutcome pendingTestOutcome() {