Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
Copy and Append Last Row | 100 | number of times |
Division | ||
numerator | denominator | quotient() |
10 | 2 | 5 |
12.6 | 3 | 4.2 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
100 | 4 | 25 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary | |
EncapsulatedFixtureName | Division |
counts | 103 right, 0 wrong, 0 ignored, 0 exceptions |
numberOfTimes | 100 |
run date | Thu May 09 11:51:11 EEST 2013 |
run elapsed time | 0:00.74 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
Copy and Append Last Row | 100 | times | |||
Increment Columns Value | numerator | of type | int | by | 5 |
Increment Columns Value | denominator | of type | int | by | 1 |
Division | |||||
numerator | denominator | quotient() | |||
5 | 1 | 5 | |||
10 | 2 | 5 | |||
15 | 3 | 5 | |||
20 | 4 | 5 | |||
25 | 5 | 5 | |||
30 | 6 | 5 | |||
35 | 7 | 5 | |||
40 | 8 | 5 | |||
45 | 9 | 5 | |||
50 | 10 | 5 | |||
55 | 11 | 5 | |||
60 | 12 | 5 | |||
65 | 13 | 5 | |||
70 | 14 | 5 | |||
75 | 15 | 5 | |||
80 | 16 | 5 | |||
85 | 17 | 5 | |||
90 | 18 | 5 | |||
95 | 19 | 5 | |||
100 | 20 | 5 | |||
105 | 21 | 5 | |||
110 | 22 | 5 | |||
115 | 23 | 5 | |||
120 | 24 | 5 | |||
125 | 25 | 5 | |||
130 | 26 | 5 | |||
135 | 27 | 5 | |||
140 | 28 | 5 | |||
145 | 29 | 5 | |||
150 | 30 | 5 | |||
155 | 31 | 5 | |||
160 | 32 | 5 | |||
165 | 33 | 5 | |||
170 | 34 | 5 | |||
175 | 35 | 5 | |||
180 | 36 | 5 | |||
185 | 37 | 5 | |||
190 | 38 | 5 | |||
195 | 39 | 5 | |||
200 | 40 | 5 | |||
205 | 41 | 5 | |||
210 | 42 | 5 | |||
215 | 43 | 5 | |||
220 | 44 | 5 | |||
225 | 45 | 5 | |||
230 | 46 | 5 | |||
235 | 47 | 5 | |||
240 | 48 | 5 | |||
245 | 49 | 5 | |||
250 | 50 | 5 | |||
255 | 51 | 5 | |||
260 | 52 | 5 | |||
265 | 53 | 5 | |||
270 | 54 | 5 | |||
275 | 55 | 5 | |||
280 | 56 | 5 | |||
285 | 57 | 5 | |||
290 | 58 | 5 | |||
295 | 59 | 5 | |||
300 | 60 | 5 | |||
305 | 61 | 5 | |||
310 | 62 | 5 | |||
315 | 63 | 5 | |||
320 | 64 | 5 | |||
325 | 65 | 5 | |||
330 | 66 | 5 | |||
335 | 67 | 5 | |||
340 | 68 | 5 | |||
345 | 69 | 5 | |||
350 | 70 | 5 | |||
355 | 71 | 5 | |||
360 | 72 | 5 | |||
365 | 73 | 5 | |||
370 | 74 | 5 | |||
375 | 75 | 5 | |||
380 | 76 | 5 | |||
385 | 77 | 5 | |||
390 | 78 | 5 | |||
395 | 79 | 5 | |||
400 | 80 | 5 | |||
405 | 81 | 5 | |||
410 | 82 | 5 | |||
415 | 83 | 5 | |||
420 | 84 | 5 | |||
425 | 85 | 5 | |||
430 | 86 | 5 | |||
435 | 87 | 5 | |||
440 | 88 | 5 | |||
445 | 89 | 5 | |||
450 | 90 | 5 | |||
455 | 91 | 5 | |||
460 | 92 | 5 | |||
465 | 93 | 5 | |||
470 | 94 | 5 | |||
475 | 95 | 5 | |||
480 | 96 | 5 | |||
485 | 97 | 5 | |||
490 | 98 | 5 | |||
495 | 99 | 5 | |||
500 | 100 | 5 | |||
505 | 101 | 5 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary | |
EncapsulatedFixtureName | Division |
columnName | denominator |
counts | 101 right, 0 wrong, 0 ignored, 0 exceptions |
delta | DataType = 'int' and value = 1 |
numberOfTimes | 100 |
run date | Thu May 09 11:51:12 EEST 2013 |
run elapsed time | 0:00.03 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
Increment Columns Value | numerator | of type | int | by | 5 |
Division | |||||
numerator | denominator | quotient() | |||
10 | 2 | 5 | |||
15 | 3 | 5 | |||
20 | 4 | 5 |
Increment Columns Value | numerator | of type | integer | by | 5 |
Division | |||||
numerator | denominator | quotient() | |||
10 | 2 | 5 | |||
15 | 3 | 5 | |||
20 | 4 | 5 |
Increment Columns Value | numerator | of type | double | by | 10.2 |
Division | |||||
numerator | denominator | quotient() | |||
10.2 | 2 | 5.1 | |||
20.4 | 4 | 5.1 |
Increment Columns Value | numerator | of type | string | by | 5 |
Division | |||||
numerator | denominator | quotient() | |||
5 | 1 | 5 | |||
55 | 11 | 5 | |||
555 | 111 | 5 |
Increment Columns Value | inDate | of type | date | by | 5 |
Get Dates | |||||
inDate | updatedDate() | ||||
12/02/2006 | 12/02/2006 | ||||
12/07/2006 | 12/07/2006 | ||||
01/01/2007 | 01/01/2007 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary | |
EncapsulatedFixtureName | Get Dates |
columnName | inDate |
counts | 14 right, 0 wrong, 0 ignored, 0 exceptions |
delta | DataType = 'date' and value = 5 |
run date | Thu May 09 11:51:12 EEST 2013 |
run elapsed time | 0:00.09 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
Division | ||
numerator | denominator | quotient() |
10 | 2 | 5 |
12.6 | 3 | 4.2 |
100 | 4 | 25 |
Max Time | 100 actual 2.0 |
milliseconds |
Division | ||
numerator | denominator | quotient() |
10 | 2 | 5 |
12.6 | 3 | 4.2 |
100 | 4 | 25 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary | |
EncapsulatedFixtureName | Division |
actualTimeTaken | 2 |
counts | 7 right, 0 wrong, 0 ignored, 0 exceptions |
maxTime | 100 |
run date | Thu May 09 11:51:12 EEST 2013 |
run elapsed time | 0:00.00 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
Loop | 5 | times |
Max Time | 1000 actual 1.0 actual 1.0 actual 1.0 actual 2.0 actual 1.0 |
milliseconds |
Division | ||
numerator | denominator | quotient() |
10 | 2 | 5 |
12.6 | 3 | 4.2 |
100 | 4 | 25 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary | |
EncapsulatedFixtureName | Division |
actualTimeTaken | 1 |
count | 5 |
counts | 20 right, 0 wrong, 0 ignored, 0 exceptions |
maxTime | 1000 |
run date | Thu May 09 11:51:12 EEST 2013 |
run elapsed time | 0:00.01 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
Time Range | 0 actual 1.0 |
milliseconds min and max | 200 actual 1.0 |
milliseconds |
Division | ||||
numerator | denominator | quotient() | ||
10 | 2 | 5 | ||
12.6 | 3 | 4.2 | ||
100 | 4 | 25 |
Time Range | 0 actual 1.0 |
alternative column values are ignored | 200 actual 1.0 |
this is ignored as well |
Division | ||||
numerator | denominator | quotient() | ||
10 | 2 | 5 | ||
12.6 | 3 | 4.2 | ||
100 | 4 | 25 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary | |
EncapsulatedFixtureName | Division |
actualTimeTaken | 1 |
counts | 10 right, 0 wrong, 0 ignored, 0 exceptions |
maxTime | 200 |
minTime | 0 |
run date | Thu May 09 11:51:12 EEST 2013 |
run elapsed time | 0:00.00 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
Max Time | 1000 actual 10.0 |
milliseconds |
Loop | 5 | times |
Max Time | 200 actual 1.0 actual 1.0 actual 1.0 actual 1.0 actual 2.0 |
milliseconds |
Division | ||
numerator | denominator | quotient() |
10 | 2 | 5 |
12.6 | 3 | 4.2 |
100 | 4 | 25 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary | |
EncapsulatedFixtureName | Division |
actualTimeTaken | 2 |
count | 5 |
counts | 21 right, 0 wrong, 0 ignored, 0 exceptions |
maxTime | 200 |
run date | Thu May 09 11:51:12 EEST 2013 |
run elapsed time | 0:00.01 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp
|
fitnesse.fixtures.ComplexAddFixture | ||
a | b | sum? |
1,2 | 3,4 | 4,6 |
public class ComplexAddFixture extends ColumnFixture { public int[] a; public int[] b; public int[] sum() { return new int[] {a[0]+b[0], a[1]+b[1]}; } }
Included page: .FitNesse.SuiteAcceptanceTests.TearDown (edit)
tear down
|
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Could not find field: fieldname.
The !path must point to fitnesse-standalone.jar
ColumnFixtureTestFixture is a special class used for testing Column fixtures.
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | |Import| |
enter | line | |fitnesse.fixtures| |
enter | line | |
enter | line | |Column fixture test fixture| |
enter | line | |no such field| |
enter | page | ColumnFixtureTestPage |
Response Requester | |
uri | status? |
ColumnFixtureTestPage?test | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Could not find field: no such field | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Could not find method: methodName.
The !path must point to fitnesse.jar
ColumnFixtureTestFixture is a special class used for testing Column fixtures.
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | |Import| |
enter | line | |fitnesse.fixtures| |
enter | line | |
enter | line | |Column fixture test fixture| |
enter | line | |no such method()| |
enter | page | ColumnFixtureTestPage |
Response requester | |
uri | contents? |
ColumnFixtureTestPage | expected <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 </pre> actual |
Response examiner |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Response Requester | |
uri | status? |
ColumnFixtureTestPage?test | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Could not find method: no such method() | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
fitnesse.fixtures.ColumnFixtureTestFixture | |
input | =output? |
1 | one = 1 |
2 | two = 2 |
fitnesse.fixtures.ColumnFixtureTestFixture | |
input= | output? |
one = 1 | 1 |
two = 2 | 2 |
fitnesse.fixtures.ColumnFixtureTestFixture | |
integerInput | =integerOutput? |
1 | one = 1 |
2 | two = 2 |
null | three = null |
fitnesse.fixtures.ColumnFixtureTestFixture | |
integerInput= | integerOutput? |
one = 1 | 1 |
two = 2 | 2 |
three = null | null |
public class ColumnFixtureTestFixture extends ColumnFixture { public int input; public int output() {return input;} public Integer integerInput; public Integer integerOutput() { return integerInput; } public boolean exception() throws Exception {throw new Exception("I thowed up");} }
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
fitnesse.fixtures.NullAndBlankFixture | |||||
nullString | blankString | nullString? | blankString? | isNull? | isBlank? |
null | blank | null | blank | Y | Y |
null | blank | null | blank | Y | Y |
bob | micah | null | blank | N | N |
public class NullAndBlankFixture extends ColumnFixture { public String nullString; public String blankString; public String nullString() {return null;} public String blankString() {return "";} public boolean isNull() {return nullString == null;} public boolean isBlank() {return blankString.length() == 0;} }
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Class fixtureName is not a fixture.
The !path must point to fitnesse.jar
WouldBeFixture is a real class, but is not a Fixture
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | |Import| |
enter | line | |fit.testFxtr| |
enter | line | |
enter | line | |Would Be| |
enter | page | NotFixturePage |
Response Requester | |
uri | status? |
NotFixturePage?test | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Class fit.testFxtr.WouldBeFixture is not a fixture. | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Could not find fixture: fixtureName.
The !path must point to fitnesse.jar
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | |No such fixture| |
enter | page | NoSuchFixturePage |
Response Requester | |
uri | status? |
NoSuchFixturePage?test | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Could not find fixture: NoSuchFixture | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Response requester | |
uri | contents? |
ErrorLogs.NoSuchFixturePage | expected <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 </pre> actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Could not find fixture: fixtureName.
The !path must point to fitnesse.jar
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | !|NoSuch| |
enter | page | NoSuchFixturePage |
Response Requester | |
uri | status? |
NoSuchFixturePage?test | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Could not find fixture: NoSuch | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Response requester | |
uri | contents? |
ErrorLogs.NoSuchFixturePage | expected <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 </pre> actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Class fixtureName has no default constructor.
The !path must point to fitnesse.jar
NoDefaultConstructorFixture is a real class, but is not a Fixture
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | |!-fit.testFxtr.NoDefaultConstructorFixture-!| |
enter | page | NotFixturePage |
Response Requester | |
uri | status? |
NotFixturePage?test&debug | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Class fit.testFxtr.NoDefaultConstructorFixture has no default constructor. | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Class fixtureName is not a fixture.
The !path must point to fitnesse.jar
WouldBeFixture is a real class, but is not a Fixture
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | |!-fit.testFxtr.WouldBeFixture-!| |
enter | page | NotFixturePage |
Response Requester | |
uri | status? |
NotFixturePage?test | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Class fit.testFxtr.WouldBeFixture is not a fixture. | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Object parse(String s);The following table shows the result of adding two vectors. Each vector is represented by an ordered pair which represents it's X and Y dimensions. The class CartesianVector[?] is used to parse, display, and sum the vectors.
fitnesse.testutil.VectorSum | ||
v1 | v2 | sum? |
(0,0) | (0,1) | (0,1) |
(0,1) | (0,1) | (0,2) |
(1,1) | (1,1) | (2,2) |
Object parse(String s);method, this approach won't work.
Object parse(String s);method which returns the Object we are interested in.
fitnesse.testutil.ObjectTranslatePoint | ||
p1 | p2 | sum? |
(0,0) | (0,1) | (0,1) |
(0,1) | (0,1) | (0,2) |
(1,1) | (1,1) | (2,2) |
static { TypeAdapter.registerParseDelegate(java.awt.Point.class, new ObjectDelegatePointParser()); }Please note that we are passing a Object of the Parse Delegate class. It is also possible to pass a class instead of the object. Only difference being the parse delegate class should have a
public static Object parse(String s);method.
fitnesse.testutil.ClassTranslatePoint | ||
p1 | p2 | sum? |
(0,0) | (0,1) | (0,1) |
(0,1) | (0,1) | (0,2) |
(1,1) | (1,1) | (2,2) |
static { TypeAdapter.registerParseDelegate(java.awt.Point.class, ClassDelegatePointParser.class); }
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Class fixtureName is not a fixture.
The !path must point to fitnesse.jar
WouldBeFixture is a real class, but is not a Fixture
Action fixture | ||
start | Page builder | |
enter | attributes | Test=true |
enter | line | !path ${java.class.path} |
enter | line | |!-fit.testFxtr.WouldBe-!| |
enter | page | NotFixturePage |
Response Requester | |
uri | status? |
NotFixturePage?test | 200 |
Response examiner | |||
type | pattern | matches? | contents? |
contents | Class fit.testFxtr.WouldBeFixture is not a fixture. | true expected false actual |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 590 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) fit.ColumnFixture.check(ColumnFixture.java:46) fit.Binding$QueryBinding.doCell(Binding.java:215) fit.ColumnFixture.doCell(ColumnFixture.java:37) fit.Fixture.doCells(Fixture.java:172) fit.Fixture.doRow(Fixture.java:166) fit.ColumnFixture.doRow(ColumnFixture.java:25) fit.Fixture.doRows(Fixture.java:160) fit.ColumnFixture.doRows(ColumnFixture.java:18) fit.Fixture.doTable(Fixture.java:154) fit.Fixture.interpretFollowingTables(Fixture.java:120) fit.Fixture.interpretTables(Fixture.java:106) fit.Fixture.doTables(Fixture.java:80) fit.FitServer.process(FitServer.java:81) fit.FitServer.run(FitServer.java:56) fit.FitServer.main(FitServer.java:41) 0 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
fitnesse.fixtures.PrimeNumberRowFixture |
prime |
2 |
3 |
5 |
7 |
11 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: CreateAbsoluteSymbolicLink (edit)
Page creator. | ||
Page name. | PageContents. | valid? |
LinkingPage | LINKING PAGE | true |
LinkingPage.LinkingChild | LINKING CHILD | true |
LinkedPage | LINKED PAGE | true |
LinkedPage.LinkedChild | LINKED CHILD | true |
Response Requester. | |
uri | status? |
LinkingPage.LinkingChild?responder=symlink&linkName=SymLink&linkPath=.LinkedPage.LinkedChild | 303 |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | Location: LinkingPage.LinkingChild\?properties | true | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage.LinkingChild?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage.LinkingChild?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
RESPONSE DATA
Response Examiner. | |
type | wrappedHtml? |
contents | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage.LinkingChild?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | ||
type | pattern | matches? |
contents | SymLink | true expected false actual |
contents | <a href=".LinkedPage.LinkedChild">.LinkedPage.LinkedChild</a> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: CreateBackwardSymbolicLink (edit)
Page creator. | ||
Page name. | PageContents. | valid? |
LinkingPage | LINKING PAGE | true |
LinkingPage.LinkingChild | LINKING CHILD | true |
LinkingPage.LinkedChild | LINKED CHILD | true |
Response Requester. | |
uri | status? |
LinkingPage.LinkingChild?responder=symlink&linkName=SymLink&linkPath=<LinkingPage.LinkedChild | 303 |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | Location: LinkingPage.LinkingChild\?properties | true | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage.LinkingChild?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage.LinkingChild?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
RESPONSE DATA
Response Examiner. | |
type | wrappedHtml? |
contents | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage.LinkingChild?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | ||
type | pattern | matches? |
contents | SymLink | true expected false actual |
contents | <a href=".LinkingPage.LinkedChild"><LinkingPage.LinkedChild</a> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: CreateNestedBackSymbolicLink (edit)
Page creator. | ||
Page name. | PageContents. | valid? |
LinkingPage | LINKING PAGE | true |
LinkingPage.LinkingChild | LINKING CHILD | true |
LinkingPage.LinkingChild.LinkingGrandChild | LINKING GRAND CHILD | true |
LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild | LINKING GREAT GRAND CHILD | true |
LinkingPage.LinkingChild.LinkedChild | LINKED CHILD | true |
Response Requester. | |
uri | status? |
LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild?responder=symlink&linkName=SymLink&linkPath=<LinkingChild.LinkedChild | 303 |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | Location: LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild\?properties | true | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
RESPONSE DATA
Response Examiner. | |
type | wrappedHtml? |
contents | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage.LinkingChild.LinkingGrandChild.LinkingGreatGrandChild?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | ||
type | pattern | matches? |
contents | SymLink | true expected false actual |
contents | <a href=".LinkingPage.LinkingChild.LinkedChild"><LinkingChild.LinkedChild</a> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: CreateRelativeSymbolicLink (edit)
Page creator. | |
Page name. | valid? |
LinkingPage | true |
LinkedPage | true |
Response Requester. | |
uri | status? |
LinkingPage?responder=symlink&linkName=SymLink&linkPath=LinkedPage | 303 |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | Location: LinkingPage\?properties | true | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
Response Examiner. | ||
type | pattern | matches? |
contents | SymLink | true expected false actual |
contents | <a href=".LinkedPage">LinkedPage</a> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: CreateSubPageSymbolicLink (edit)
Page creator. | ||
Page name. | PageContents. | valid? |
LinkingPage | LINKING PAGE | true |
LinkingPage.LinkedChild | LINKED CHILD | true |
Response Requester. | |
uri | status? |
LinkingPage?responder=symlink&linkName=SymLink&linkPath=>LinkedChild | 303 |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | Location: LinkingPage\?properties | true | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
RESPONSE DATA
Response Examiner. | |
type | wrappedHtml? |
contents | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | ||
type | pattern | matches? |
contents | SymLink | true expected false actual |
contents | <a href=".LinkingPage.LinkedChild">>LinkedChild</a> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
http://host/PathToPage?responder=symlink&remove=nameOfLink
Included page: CreateRelativeSymbolicLink (edit)
Page creator. | |
Page name. | valid? |
LinkingPage | true |
LinkedPage | true |
Response Requester. | |
uri | status? |
LinkingPage?responder=symlink&linkName=SymLink&linkPath=LinkedPage | 303 |
Response Requester. | |
uri | status? |
LinkingPage?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | <a href="\?responder=symlink&removal=SymLink">Unlink</a> | true expected false actual |
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage?responder=symlink&removal=SymLink | 303 |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | Location: LinkingPage\?properties | true | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | ||
uri | status? | contents? |
LinkingPage?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | ||
type | pattern | matches? |
contents | SymLink | false |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
http://host/PathToPage?responder=symlink&rename=nameOfLink&newname=newNameForLink
Included page: CreateRelativeSymbolicLink (edit)
Page creator. | |
Page name. | valid? |
LinkingPage | true |
LinkedPage | true |
Response Requester. | |
uri | status? |
LinkingPage?responder=symlink&linkName=SymLink&linkPath=LinkedPage | 303 |
Response Requester. | |
uri | status? |
LinkingPage?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | SymLink | true expected false actual |
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
contents | <a href="javascript:symbolicLinkRename\(.*\);">Rename</a> | true expected false actual |
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage?responder=symlink&rename=SymLink&newname=NewLink | 303 |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | Location: LinkingPage\?properties | true | HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Requester. | |
uri | status? |
LinkingPage?properties | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.editing.PropertiesResponder.makeHtml(PropertiesResponder.java:107) at fitnesse.responders.editing.PropertiesResponder.makeContent(PropertiesResponder.java:62) at fitnesse.responders.editing.PropertiesResponder.makeResponse(PropertiesResponder.java:48) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
Response Examiner. | ||
type | pattern | matches? |
contents | NewLink | true expected false actual |
contents | SymLink | false |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: CreateRelativeSymbolicLink (edit)
Page creator. | |
Page name. | valid? |
LinkingPage | true |
LinkedPage | true |
Response Requester. | |
uri | status? |
LinkingPage?responder=symlink&linkName=SymLink&linkPath=LinkedPage | 303 |
Page creator. | |
Page name. | valid? |
LinkedPage.ChildPage | true |
Response Requester. | |
uri | status? |
LinkingPage.SymLink | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.WikiPageResponder.makeHtml(WikiPageResponder.java:97) at fitnesse.responders.WikiPageResponder.makePageResponse(WikiPageResponder.java:57) at fitnesse.responders.WikiPageResponder.makeResponse(WikiPageResponder.java:35) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
Response Examiner. | ||
type | pattern | matches? |
contents | <title>LinkingPage.SymLink</title> | true expected false actual |
Response Requester. | |
uri | status? |
LinkingPage.SymLink.ChildPage | 200
Could not parse: 200java.lang.NullPointerException at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) at fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) at fitnesse.responders.templateUtilities.HtmlPage.html(HtmlPage.java:74) at fitnesse.responders.WikiPageResponder.makeHtml(WikiPageResponder.java:97) at fitnesse.responders.WikiPageResponder.makePageResponse(WikiPageResponder.java:57) at fitnesse.responders.WikiPageResponder.makeResponse(WikiPageResponder.java:35) at fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123) at fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:37) at fit.ColumnFixture.executeIfNeeded(ColumnFixture.java:57) at fit.ColumnFixture.check(ColumnFixture.java:46) at fit.Binding$QueryBinding.doCell(Binding.java:215) at fit.ColumnFixture.doCell(ColumnFixture.java:37) at fit.Fixture.doCells(Fixture.java:172) at fit.Fixture.doRow(Fixture.java:166) at fit.ColumnFixture.doRow(ColumnFixture.java:25) at fit.Fixture.doRows(Fixture.java:160) at fit.ColumnFixture.doRows(ColumnFixture.java:18) at fit.Fixture.doTable(Fixture.java:154) at fit.Fixture.interpretFollowingTables(Fixture.java:120) at fit.Fixture.interpretTables(Fixture.java:106) at fit.Fixture.doTables(Fixture.java:80) at fit.FitServer.process(FitServer.java:81) at fit.FitServer.run(FitServer.java:56) at fit.FitServer.main(FitServer.java:41), expected type: int. |
Response Examiner. | ||
type | pattern | matches? |
contents | <title>LinkingPage.SymLink.ChildPage</title> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
TopLevelPage | top level page | blank | true |
Response Requester. | ||
uri | valid? | contents? |
TopLevelPage | true
|
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | ||
type | pattern | matches? |
contents | <h1>TopLevelPage</h1> | true expected false actual |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
TopLevelPage.SecondLevelPage | second level page | blank | true |
Response Requester. | ||
uri | valid? | contents? |
TopLevelPage.SecondLevelPage | true
|
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href="/TopLevelPage">TopLevelPage</a>. | true expected false actual |
contents | <h1>SecondLevelPage</h1> | true expected false actual |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
TopLevelPage.SecondLevelPage.ThirdLevelPage.FourthLevelPage.FifthLevelPage | fifth level page | blank | true |
Response Requester. | ||
uri | valid? | contents? |
TopLevelPage.SecondLevelPage.ThirdLevelPage.FourthLevelPage.FifthLevelPage | true
|
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | |
line | inOrder? |
<li><a href="/TopLevelPage">TopLevelPage</a></li> | true expected false actual |
<li><a href="/TopLevelPage.SecondLevelPage">SecondLevelPage</a></li> | true expected false actual |
<li><a href="/TopLevelPage.SecondLevelPage.ThirdLevelPage">ThirdLevelPage</a></li> | true expected false actual |
<li><a href="/TopLevelPage.SecondLevelPage.ThirdLevelPage.FourthLevelPage">FourthLevelPage</a></li> | true expected false actual |
<h1>FifthLevelPage</h1> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
NormalPage | normal | blank | true |
PageHeader | header | blank | true |
PageFooter | footer | blank | true |
Response Requester. | |
uri | valid? |
NormalPage | true
|
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | (header).*(normal).*(footer) | true expected false actual |
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
NormalPage.SubPage | sub page | blank | true |
Response Requester. | |
uri | valid? |
NormalPage.SubPage | true
|
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | (header).*(sub page).*(footer) | true expected false actual |
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
NormalPage.PageHeader | sub header | blank | true |
NormalPage.PageFooter | sub footer | blank | true |
Response Requester. | |
uri | valid? |
NormalPage.SubPage | true
|
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | (sub header).*(sub page).*(sub footer) | true expected false actual |
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
SomePage | any page at all | true |
Response Requester. | ||
uri | valid? | contents? |
SomePage | true
|
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | |
line | inOrder? |
<header> | true expected false actual |
<li><a href="SomePage?edit" accesskey="e">Edit</a></li> | true expected false actual |
<li><a href="SomePage?properties" accesskey="p">Properties</a></li> | true expected false actual |
<li><a href="SomePage?whereUsed" accesskey="w">Where Used</a></li> | true expected false actual |
<li><a href="SomePage?versions" accesskey="v">Versions</a></li> | true expected false actual |
<a href="/files" accesskey="f">Files</a></li> | true expected false actual |
<li><a href="?searchForm" accesskey="s">Search</a></li> | true expected false actual |
<li><a href="/RecentChanges" accesskey="">Recent Changes</a></li> | true expected false actual |
<a href=".FitNesse.UserGuide" accesskey="">User Guide</a></li> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | page attributes | valid? |
SomePage | any page at all | Suite=true | true |
Response Requester. | ||
uri | valid? | contents? |
SomePage | true
|
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | |
line | inOrder? |
<header> | true expected false actual |
<a href="SomePage?suite" accesskey="">Suite</a> | true expected false actual |
<a href="SomePage?edit" accesskey="e">Edit</a> | true expected false actual |
<a href="SomePage?properties" accesskey="p">Properties</a> | true expected false actual |
<a href="SomePage?whereUsed" accesskey="w">Where Used</a> | true expected false actual |
<a href="SomePage?versions" accesskey="v">Versions</a> | true expected false actual |
<a href="/files" accesskey="f">Files</a> | true expected false actual |
<a href="?searchForm" accesskey="s">Search</a> | true expected false actual |
<a href="/RecentChanges" accesskey="">Recent Changes</a> | true expected false actual |
<a href=".FitNesse.UserGuide" accesskey="">User Guide</a> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | page attributes | valid? |
SomePage | any page at all | Test=true | true |
Response Requester. | ||
uri | valid? | contents? |
SomePage | true
|
HTTP/1.1 303 See Other Content-Length: 0 Location: LinkingPage?properties Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 |
Response Examiner. | |
line | inOrder? |
<header> | true expected false actual |
<a href="SomePage?test" accesskey="t">Test</a> | true expected false actual |
<a href="SomePage?edit" accesskey="e">Edit</a> | true expected false actual |
<a href="SomePage?properties" accesskey="p">Properties</a> | true expected false actual |
<a href="SomePage?whereUsed" accesskey="w">Where Used</a> | true expected false actual |
<a href="SomePage?versions" accesskey="v">Versions</a> | true expected false actual |
<a href="/files" accesskey="f">Files</a> | true expected false actual |
<a href="?searchForm" accesskey="s">Search</a> | true expected false actual |
<a href="/RecentChanges" accesskey="">Recent Changes</a> | true expected false actual |
<a href=".FitNesse.UserGuide" accesskey="">User Guide</a> | true expected false actual |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration. |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||||||||||||||
given user | Aladdin | with password | open sesame | |||||||||||||||||||||||||||
given page | FrontPage | |||||||||||||||||||||||||||||
|
Make sure saveProperties is last, because it clears the write-lock
operation is authenticated | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
operation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
purgeHistory | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testHistory | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pageHistory | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shutdown | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
renamePage | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
deletePage | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
movePage | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.TearDown (edit)
tear down java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||
given user | Aladdin | with password | open sesame | ||||||||||||
given read locked page | FrontPage | ||||||||||||||
|
operation is authenticated | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
operation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
edit | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
search | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
versions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
viewVersion | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
names | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
executeSearchProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
whereUsed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
refactor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pageData | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
raw | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rss | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
importAndView | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
getPage | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
packet | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||
given user | Aladdin | with password | open sesame | |||||||||||||||
given page | ParentPage | with content | <br/> !path ${java.class.path} <br/>!define TEST_SYSTEM (slim)<br/>!define SLIM_PORT (9000)<br/> | |||||||||||||||
| ||||||||||||||||||
given test locked page | ParentPage.AwkwardTurtle | |||||||||||||||||
|
operation is authenticated | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
operation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
suite | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
test | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||
given user | Aladdin | with password | open sesame | ||||||||||||
given write locked page | FrontPage | ||||||||||||||
|
Make sure saveProperties is last, because it clears the write-lock
operation is authenticated | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
operation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
addChild | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
saveData | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rollback | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
saveProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||||||||||||||
given user | Aladdin | with password | open sesame | |||||||||||||||||||||||||||
given page | FrontPage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
it should be readable with no authentication | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
it should be readable by user | Aladdin | password | open sesame | |||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
it should be readable by user | Aladdin | password | open please | |||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
it should be readable by user | Bob | password | xyzzy | |||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||||||||||||||
given user | Aladdin | with password | open sesame | |||||||||||||||||||||||||||
given read locked page | ParentPage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
given page | ParentPage.ChildPage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
it should not be readable with no authentication | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
it should not be readable by user | Aladdin | password | open please | |||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
it should be readable by user | Aladdin | password | open sesame | |||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
FileSection | setup |
script | |||||||||||||||||||||||||||||
given user | Aladdin | with password | open sesame | ||||||||||||||||||||||||||
directory | files/ | should not be readable with no authentication | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
directory | files/ | should not be readable by user | Aladdin | password | open please | ||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
directory | files/ | should be readable by user | Aladdin | password | open sesame | ||||||||||||||||||||||||
|
FileSection | teardown |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Authenticator Setup | ||
username | password | status? |
Aladdin | open sesame | ok |
Page creator. | ||
Page name. | page attributes | valid? |
FrontPage | secure-test=true | true |
Response Requester. | |
uri | status? |
FrontPage?suite | [303] expected [401] |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | |||
uri | username | password | status? |
FrontPage?suite | Aladdin | open please | [303] expected [401] |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | |||
uri | username | password | status? |
FrontPage?suite | Aladdin | open sesame | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.ScenarioLibrary (edit)
scenario | it should be readable with no authentication | ||
check | request page | $IT | 200 |
scenario | it should not be readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | given read locked page | page | |
create page | @page | with authentication | secure-read=true |
$IT= | echo | @page |
scenario | given write locked page | page | |
create page | @page | with authentication | secure-write=true |
$IT= | echo | @page |
scenario | given test locked page | page | |
create page | @page | with authentication | secure-test=true |
$IT= | echo | @page |
scenario | directory | dir | should not be readable with no authentication |
check | request page | @dir | 401 |
scenario | directory | dir | should not be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 401 |
scenario | directory | dir | should be readable by user | user | password | password | |
check | request page | @dir | authenticated by user | @user | and password | @password | 200 |
scenario | it should be not readable with no authentication | ||
check | request page | $IT | 401 |
scenario | it should not be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 401 |
scenario | it should be readable by user | user | password | password | |||
check | request page | $IT | authenticated by user | @user | and password | @password | 200 |
scenario | operation | operation | with bad authentication should fail | ||||
check | request page | $IT?@operation | authenticated by user | Aladdin | and password | open please | 401 |
scenario | operation | operation | with good authentication should not fail | ||||
check not | request page | $IT?@operation | authenticated by user | Aladdin | and password | open sesame | 401 |
scenario | operation | operation | is authenticated |
operation | @operation | with bad authentication should fail | |
operation | @operation | with good authentication should not fail |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteAuthenticationTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Authenticator Setup | ||
username | password | status? |
Aladdin | open sesame | ok |
Page creator. | ||
Page name. | page attributes | valid? |
FrontPage | secure-test=true | true |
Response Requester. | |
uri | status? |
FrontPage?test | [200] expected [401] |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | |||
uri | username | password | status? |
FrontPage?test | Aladdin | open please | [200] expected [401] |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | |||
uri | username | password | status? |
FrontPage?test | Aladdin | open sesame | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.ScenarioLibrary (edit)
scenario | the edit response should contain | contents | |
check | request page | $IT?edit | 200 |
ensure | content contains | @contents | |
show | content |
scenario | attempt to edit | page | |
check | request page | @page?edit | 200 |
scenario | save page | page | with contents | contents | |
check | request page save | @page | with contents | @contents | 303 |
$IT= | echo | @page |
scenario | save page | page | with contents | contents | by user | user | |||
check | request page save | @page | with contents | @contents | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | by user | user | |||||
check | request page save | @page | with contents | empty | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | |
save page | @page | with contents | empty |
scenario | it's last modified by should be | user | |
check | last modified of page | $IT | @user |
scenario | it's versions should contain | content | |
page | $IT?versions | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||
given page | SomePage | with content | some content | |||||||||||||||||||||
| ||||||||||||||||||||||||
the edit response should contain | SomePage | |||||||||||||||||||||||
| ||||||||||||||||||||||||
and should match | <textarea.*>some content</textarea> | |||||||||||||||||||||||
| ||||||||||||||||||||||||
and should match | <form.*> | |||||||||||||||||||||||
| ||||||||||||||||||||||||
and should match | action="SomePage" | |||||||||||||||||||||||
| ||||||||||||||||||||||||
and should match | <input.*> | |||||||||||||||||||||||
| ||||||||||||||||||||||||
and should match | type="submit" | |||||||||||||||||||||||
| ||||||||||||||||||||||||
and should match | value="Save" | |||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.ScenarioLibrary (edit)
scenario | the edit response should contain | contents | |
check | request page | $IT?edit | 200 |
ensure | content contains | @contents | |
show | content |
scenario | attempt to edit | page | |
check | request page | @page?edit | 200 |
scenario | save page | page | with contents | contents | |
check | request page save | @page | with contents | @contents | 303 |
$IT= | echo | @page |
scenario | save page | page | with contents | contents | by user | user | |||
check | request page save | @page | with contents | @contents | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | by user | user | |||||
check | request page save | @page | with contents | empty | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | |
save page | @page | with contents | empty |
scenario | it's last modified by should be | user | |
check | last modified of page | $IT | @user |
scenario | it's versions should contain | content | |
page | $IT?versions | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||
attempt to edit | SomeNonExistentPage | ||||||||||||
| |||||||||||||
and should match | <textarea.*></textarea> | ||||||||||||
| |||||||||||||
and should match | <form.*> | ||||||||||||
| |||||||||||||
and should match | action="SomeNonExistentPage" | ||||||||||||
| |||||||||||||
and should match | type="submit" | ||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.ScenarioLibrary (edit)
scenario | the edit response should contain | contents | |
check | request page | $IT?edit | 200 |
ensure | content contains | @contents | |
show | content |
scenario | attempt to edit | page | |
check | request page | @page?edit | 200 |
scenario | save page | page | with contents | contents | |
check | request page save | @page | with contents | @contents | 303 |
$IT= | echo | @page |
scenario | save page | page | with contents | contents | by user | user | |||
check | request page save | @page | with contents | @contents | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | by user | user | |||||
check | request page save | @page | with contents | empty | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | |
save page | @page | with contents | empty |
scenario | it's last modified by should be | user | |
check | last modified of page | $IT | @user |
scenario | it's versions should contain | content | |
page | $IT?versions | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||
save page | NewPage | with contents | þðæö | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | þðæö | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.ScenarioLibrary (edit)
scenario | the edit response should contain | contents | |
check | request page | $IT?edit | 200 |
ensure | content contains | @contents | |
show | content |
scenario | attempt to edit | page | |
check | request page | @page?edit | 200 |
scenario | save page | page | with contents | contents | |
check | request page save | @page | with contents | @contents | 303 |
$IT= | echo | @page |
scenario | save page | page | with contents | contents | by user | user | |||
check | request page save | @page | with contents | @contents | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | by user | user | |||||
check | request page save | @page | with contents | empty | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | |
save page | @page | with contents | empty |
scenario | it's last modified by should be | user | |
check | last modified of page | $IT | @user |
scenario | it's versions should contain | content | |
page | $IT?versions | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||
save page | PageOne | by user | Aladdin | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
it's last modified by should be | Aladdin | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
save page | PageTwo | by user | Genie | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
it's last modified by should be | Genie | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
save page | PageThree | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
it's last modified by should be | null | ||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.ScenarioLibrary (edit)
scenario | the edit response should contain | contents | |
check | request page | $IT?edit | 200 |
ensure | content contains | @contents | |
show | content |
scenario | attempt to edit | page | |
check | request page | @page?edit | 200 |
scenario | save page | page | with contents | contents | |
check | request page save | @page | with contents | @contents | 303 |
$IT= | echo | @page |
scenario | save page | page | with contents | contents | by user | user | |||
check | request page save | @page | with contents | @contents | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | by user | user | |||||
check | request page save | @page | with contents | empty | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | |
save page | @page | with contents | empty |
scenario | it's last modified by should be | user | |
check | last modified of page | $IT | @user |
scenario | it's versions should contain | content | |
page | $IT?versions | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||
page | RecentChanges | should not contain | Aladdin | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
save page | SomePage | by user | Aladdin | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
page | RecentChanges | should contain | Aladdin | ||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.ScenarioLibrary (edit)
scenario | the edit response should contain | contents | |
check | request page | $IT?edit | 200 |
ensure | content contains | @contents | |
show | content |
scenario | attempt to edit | page | |
check | request page | @page?edit | 200 |
scenario | save page | page | with contents | contents | |
check | request page save | @page | with contents | @contents | 303 |
$IT= | echo | @page |
scenario | save page | page | with contents | contents | by user | user | |||
check | request page save | @page | with contents | @contents | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | by user | user | |||||
check | request page save | @page | with contents | empty | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | |
save page | @page | with contents | empty |
scenario | it's last modified by should be | user | |
check | last modified of page | $IT | @user |
scenario | it's versions should contain | content | |
page | $IT?versions | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||
save page | MyPage | by user | Bob | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
save page | MyPage | by user | Bill | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it's versions should contain | Bob | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
and should match | >\d+< | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.ScenarioLibrary (edit)
scenario | the edit response should contain | contents | |
check | request page | $IT?edit | 200 |
ensure | content contains | @contents | |
show | content |
scenario | attempt to edit | page | |
check | request page | @page?edit | 200 |
scenario | save page | page | with contents | contents | |
check | request page save | @page | with contents | @contents | 303 |
$IT= | echo | @page |
scenario | save page | page | with contents | contents | by user | user | |||
check | request page save | @page | with contents | @contents | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | by user | user | |||||
check | request page save | @page | with contents | empty | by user | @user | and password | empty | 303 |
$IT= | echo | @page |
scenario | save page | page | |
save page | @page | with contents | empty |
scenario | it's last modified by should be | user | |
check | last modified of page | $IT | @user |
scenario | it's versions should contain | content | |
page | $IT?versions | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteEditResponderTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||||
save page | MyPage | with contents | !lastModified | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
it should not contain | bob | ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
save page | MyPage | with contents | !lastmodified | by user | bob | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
it should contain | bob | ||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | ChildPage | containing | child content | to parent page | NoSuchPage | should return Not Found | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
page | ParentPage.ChildPage | should not contain | child content | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | SuiteChild | containing | child content | to parent page | ParentPage | should return Redirect | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ensure | page | ParentPage.SuiteChild | has attribute | Suite |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | TestChild | containing | child content | to parent page | ParentPage | should return Redirect | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ensure | page | ParentPage.TestChild | has attribute | Test |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | bad-name | containing | child content | to parent page | ParentPage | should return BadRequest | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | SuiteChild | of type | Static | containing | child content | to parent page | ParentPage | should return Redirect | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reject | page | ParentPage.SuiteChild | has attribute | Suite | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reject | page | ParentPage.SuiteChild | has attribute | Test |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | TestChild | of type | Static | containing | child content | to parent page | ParentPage | should return Redirect | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reject | page | ParentPage.TestChild | has attribute | Suite | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reject | page | ParentPage.TestChild | has attribute | Test |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | ChildPage | containing | child content | to parent page | ParentPage | should return Redirect | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
page | ParentPage.ChildPage | should contain | child content | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | ChildPage | of type | Suite | containing | child content | to parent page | ParentPage | should return Redirect | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
page | ParentPage.ChildPage | should contain | child content | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ensure | page | ParentPage.ChildPage | has attribute | Suite | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reject | page | ParentPage.ChildPage | has attribute | Test |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | ChildPage | of type | Test | containing | child content | to parent page | ParentPage | should return Redirect | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
page | ParentPage.ChildPage | should contain | child content | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ensure | page | ParentPage.ChildPage | has attribute | Test | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reject | page | ParentPage.ChildPage | has attribute | Suite |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.ScenarioLibrary (edit)
scenario | add child page | page | containing | content | to parent page | parentPage | should return Redirect |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | containing | content | to parent page | parent page | should return Not Found |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 404 |
scenario | add child page | page | containing | content | to parent page | parent page | should return BadRequest |
add child page | @page | containing | @content | to parent page | @parentPage | should return | 400 |
scenario | add child page | page | containing | content | to parent page | parent page | should return | return code | |
add child page | @page | of type | Default | containing | @content | to parent page | @parentPage | should return | @returnCode |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return Redirect |
add child page | @page | of type | @type | containing | @content | to parent page | @parentPage | should return | 303 |
scenario | add child page | page | of type | type | containing | content | to parent page | parent page | should return | return code |
check | request page | @parentPage?addChild&pageName=@page&pageContent=@content&pageType=@type | @returnCode |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.AddChildResponderSuite.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add child page | containing | child content | to parent page | ParentPage | should return BadRequest | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
file section | setup |
file section file adder | ||
path | type | valid? |
cFile.txt | file | true |
__EXCEPTION__:java.io.IOException: No such file or directory | ||
dDir | dir | [false] expected [true] |
cDir | dir | [false] expected [true] |
bFile.txt | file | true |
__EXCEPTION__:java.io.IOException: No such file or directory | ||
dFile.txt | file | true |
__EXCEPTION__:java.io.IOException: No such file or directory | ||
bDir | dir | [false] expected [true] |
aFile.txt | file | true |
__EXCEPTION__:java.io.IOException: No such file or directory | ||
aDir | dir | [false] expected [true] |
query:file section directory listing |
__EXCEPTION__:java.lang.NullPointerException |
path |
aFile.txt |
bFile.txt |
cFile.txt |
dFile.txt |
aDir |
bDir |
cDir |
dDir |
testResults |
Response Requester | ||
uri | valid? | contents? |
files/ | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner | |
line | inOrder? |
<a href="aDir/"> | [false] expected [true] |
<a href="bDir/"> | [false] expected [true] |
<a href="cDir/"> | [false] expected [true] |
<a href="dDir/"> | [false] expected [true] |
<a href="aFile.txt"> | [false] expected [true] |
<a href="bFile.txt"> | [false] expected [true] |
<a href="cFile.txt"> | [false] expected [true] |
<a href="dFile.txt"> | [false] expected [true] |
file section | teardown |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | x | true |
ParentPage.ChildPage | child page | true |
ParentPage.ChildPage.GrandchildPage | grandchild page | true |
Response Requester. | |
uri | status? |
ParentPage.ChildPage?responder=movePage&newLocation=ParentPage.ChildPage.GrandchildPage | [303] expected [400] |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | Cannot move | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.ChildPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | child page | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.ChildPage.GrandchildPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | grandchild page | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | x | true |
ParentPage.SubPage | sub page | true |
NewParentPage | x | true |
ReferingPage | !include ParentPage.SubPage | true |
Response Requester. | |
uri | status? |
ParentPage.SubPage?responder=movePage&newLocation=NewParentPage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ReferingPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | .NewParentPage.SubPage | true | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | sub page | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
TestPage | some content | true |
Response Requester. | |
uri | status? |
TestPage?responder=movePage&newLocation=TestPage | [303] expected [400] |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | Cannot move | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPageAy | >ChildBee | true |
ParentPageAy.ChildBee | >ChildCee | true |
ParentPageAy.ChildDee | page D | true |
ParentPageAy.ChildBee.ChildCee | page C | true |
Response Requester. | ||
uri | valid? | contents? |
ParentPageAy.ChildBee | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | |
uri | status? |
ParentPageAy.ChildBee.ChildCee?responder=movePage&newLocation=ParentPageAy.ChildDee&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPageAy.ChildBee | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPageAy.ChildDee.ChildCee Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | ParentPageAy.ChildDee.ChildCee | true | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPageAy.ChildDee.ChildCee Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | status? |
ParentPageAy.ChildBee.ChildCee?getPage&dontCreatePage | false | [303] expected [404] |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | .ParentPage.SubPage | true |
ParentPage.SubPage | sub page | true |
NewParentPage | x | true |
ReferingPage | ParentPage.SubPage | true |
Response Requester. | |
uri | status? |
ParentPage.SubPage?responder=movePage&newLocation=NewParentPage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | NewParentPage.SubPage | true | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | x | true |
ParentPage.SubPage | sub page | true |
NewParentPage | x | true |
ReferingPage | ParentPage.SubPage | true |
Response Requester. | |
uri | status? |
ParentPage.SubPage?responder=movePage&newLocation=NewParentPage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
NewParentPage.SubPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | sub page | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.SubPage?getPage&dontCreatePage | false | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | ||
uri | valid? | contents? |
ReferingPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | NewParentPage.SubPage | true | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | x | true |
ParentPage.ChildPage | child page | true |
ParentPage.ChildPage.GrandchildPage | grandchild page | true |
NewParentPage | x | true |
Response Requester. | |
uri | status? |
ParentPage?responder=movePage&newLocation=NewParentPage | 303 |
Response Requester. | ||
uri | valid? | contents? |
NewParentPage.ParentPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException | ||
NewParentPage.ParentPage.ChildPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException | ||
NewParentPage.ParentPage.ChildPage.GrandchildPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | >SubPage | true |
ParentPage.SubPage | sub page | true |
NewParentPage | x | true |
ReferingPage | ParentPage.SubPage | true |
Response Requester. | |
uri | status? |
ParentPage.SubPage?responder=movePage&newLocation=NewParentPage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | .NewParentPage.SubPage | true | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | x | true |
ParentPage.ChildPage | child page | true |
ParentPage.ChildPage.GrandchildPage | grandchild page | true |
NewParentPage | x | true |
Response Requester. | |
uri | status? |
ParentPage.ChildPage?responder=movePage&newLocation=NewParentPage | 303 |
Response Requester. | ||
uri | valid? | contents? |
NewParentPage.ChildPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ChildPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | child page | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ChildPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | contents? |
NewParentPage.ChildPage.GrandchildPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ChildPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | grandchild page | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ChildPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.SubPage?getPage&dontCreatePage | false | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.ChildPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
local setup and scenario's
library |
page driver |
scenario | create symlink on | pageName | with name | name | link to | linkedPage |
check | request page | @pageName?responder=symlink&linkName=@name&linkPath=@linkedPage | 303 | |||
show | content | |||||
ensure | content contains | Location: @pageName?properties |
scenario | move page | pageName | to | location |
check | request page | @pageName?responder=movePage&newLocation=@location | 303 | |
show | content | |||
ensure | content contains | Location: @location.@pageName |
script | ||||||||||||||||||||||||||||||||||
create page | ToBeMovedPage | with content | main page | |||||||||||||||||||||||||||||||
create page | ToBeMovedPage.ChildPage | with content | child page | |||||||||||||||||||||||||||||||
create page | NewLocation | with content | new location | |||||||||||||||||||||||||||||||
create page | AnotherPage | with content | another page | |||||||||||||||||||||||||||||||
create symlink on | ToBeMovedPage | with name | LinkAnotherPage | link to | AnotherPage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
create symlink on | ToBeMovedPage | with name | LinkChildPage | link to | >ChildPage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
ensure | page | ToBeMovedPage.LinkAnotherPage | is a symbolic link | |||||||||||||||||||||||||||||||
ensure | page | ToBeMovedPage.LinkChildPage | is a symbolic link |
script | |||||||||||||||||||||||||||||
move page | ToBeMovedPage | to | NewLocation | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
reject | page | ToBeMovedPage | exists | ||||||||||||||||||||||||||
ensure | page | NewLocation.ToBeMovedPage | exists | ||||||||||||||||||||||||||
ensure | page | NewLocation.ToBeMovedPage.LinkAnotherPage | is a symbolic link | ||||||||||||||||||||||||||
page | NewLocation.ToBeMovedPage.LinkAnotherPage | should contain | another page | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
ensure | page | NewLocation.ToBeMovedPage.LinkChildPage | is a symbolic link | ||||||||||||||||||||||||||
page | NewLocation.ToBeMovedPage.LinkChildPage | should contain | child page | ||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | x | true |
ParentPage.SubPage | sub page | true |
Response Requester. | |
uri | status? |
ParentPage.SubPage?responder=movePage&newLocation=NewParentPage | [303] expected [400] |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | Cannot move | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewLocation.ToBeMovedPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.SubPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewLocation.ToBeMovedPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ReferencePage | ParentPageAy.ChildBee.ChildCee.ChildEee | true |
ParentPageAy | ^ChildBee | true |
ParentPageAy.ChildBee | ^ChildCee | true |
ParentPageAy.ChildBee.ChildCee | page C | true |
ParentPageAy.ChildBee.ChildCee.ChildEee | Page E | true |
ParentPageAy.ChildDee | page D | true |
Response Requester. | |
uri | status? |
ParentPageAy.ChildBee.ChildCee?responder=movePage&newLocation=ParentPageAy.ChildDee&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ReferencePage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPageAy.ChildDee.ChildCee Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | ParentPageAy.ChildDee.ChildCee.ChildEee | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPageAy.ChildDee.ChildCee Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | status? |
ParentPageAy.ChildBee.ChildCee?getPage&dontCreatePage | false | 303 |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | ||
uri | valid? | contents? |
ParentPageAy.ChildDee.ChildCee.ChildEee | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPageAy.ChildDee.ChildCee Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | x | true |
ParentPage.SubPage | sub page | true |
NewParentPage | x | true |
Response Requester. | |
uri | status? |
ParentPage.SubPage?responder=movePage&newLocation=NewParentPage | 303 |
Response Requester. | ||
uri | valid? | contents? |
NewParentPage.SubPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | sub page | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.SubPage?getPage&dontCreatePage | false | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage.SubPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
SomePage | any page at all | true |
Response Requester. | |
uri | valid? |
SomePage?properties | [false] expected [true] |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | Page type: | [false] expected [true] |
contents | <input type="radio" id="Static" name="PageType" value="Static" checked="checked"/> | [false] expected [true] |
contents | <input type="radio" id="Test" name="PageType" value="Test"/> | [false] expected [true] |
contents | <input type="radio" id="Suite" name="PageType" value="Suite"/> | [false] expected [true] |
contents | <input type="checkbox" id="Prune" name="Prune"/> | [false] expected [true] |
Response Examiner. | ||
type | pattern | matches? |
contents | Actions: | [false] expected [true] |
contents | <input type="checkbox" id="Edit" name="Edit" checked="checked"/> | [false] expected [true] |
contents | <input type="checkbox" id="Versions" name="Versions" checked="checked"/> | [false] expected [true] |
contents | <input type="checkbox" id="Properties" name="Properties" checked="checked"/> | [false] expected [true] |
contents | <input type="checkbox" id="Refactor" name="Refactor" checked="checked"/> | [false] expected [true] |
contents | <input type="checkbox" id="WhereUsed" name="WhereUsed" checked="checked"/> | [false] expected [true] |
Response Examiner. | ||
type | pattern | matches? |
contents | Navigation: | [false] expected [true] |
contents | <input type="checkbox" id="Files" name="Files" checked="checked"/> | [false] expected [true] |
contents | <input type="checkbox" id="RecentChanges" name="RecentChanges" checked="checked"/> | [false] expected [true] |
contents | <input type="checkbox" id="Search" name="Search" checked="checked"/> | [false] expected [true] |
Response Examiner. | ||
type | pattern | matches? |
contents | Security: | [false] expected [true] |
contents | <input type="checkbox" id="secure-read" name="secure-read"/> | [false] expected [true] |
contents | <input type="checkbox" id="secure-write" name="secure-write"/> | [false] expected [true] |
contents | <input type="checkbox" id="secure-test" name="secure-test"/> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path TargetPage |
line | http://objectmentor.com/TargetPage |
line | !img http://objectmentor.com/TargetPage.jpg |
line | {{{TargetPage}}} |
line | # TargetPage |
line | !-TargetPage -! |
line | this link should be renamed TargetPage |
page | ProtectedWidgetPage |
Page creator. | ||
Page name. | Page contents. | valid? |
TargetPage | whatever | true |
Response Requester. | |
uri | status? |
TargetPage?responder=renamePage&newName=RenamedPage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ProtectedWidgetPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: RenamedPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matchCount? | wrapped html? |
contents | RenamedPage</a> | [0] expected [1] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: RenamedPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | refer to .ParentPage.ChildPage | true |
ParentPage.ChildPage | whatever | true |
Response Requester. | |
uri | status? |
ParentPage.ChildPage?responder=renamePage&newName=NewChild&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewChild Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | href="ParentPage\.NewChild" | [false] expected [true] |
contents | ParentPage\.ChildPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | refer to nothing | true |
ParentPage.BrotherPage | you are my SisterPage | true |
ParentPage.SisterPage | thanks brother, love SisterPage | true |
Response Requester. | |
uri | status? |
ParentPage.SisterPage?responder=renamePage&newName=NewSister&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.BrotherPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewSister Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | NewSister | true |
contents | SisterPage | false |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.NewSister | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewSister Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | NewSister | true |
contents | SisterPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
MyPage | X | true |
TargetPage | X | true |
Response Requester. | |
uri | status? |
MyPage?responder=renamePage&newName=TargetPage.SomePage | [303] expected [400] |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | Cannot rename | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewSister Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | |
uri | valid? |
TargetPage.SomePage?getPage&dontCreatePage | false |
__EXCEPTION__:java.lang.NullPointerException |
Response Requester. | ||
uri | valid? | contents? |
MyPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewSister Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | parent | true |
ParentPage.ChildPage | child page | true |
Response Requester. | |
uri | status? |
ParentPage?responder=renamePage&newName=NewParentPage | 303 |
Response Requester. | ||
uri | valid? | contents? |
NewParentPage.ChildPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | child page | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewParentPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
MyPage | refer to self MyPage | true |
Response Requester. | |
uri | status? |
MyPage?responder=renamePage&newName=ThePage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ThePage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ThePage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | ThePage | true | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ThePage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | MyPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | refer to [[link][.ParentPage.ChildPage]] | true |
ParentPage.ChildPage | whatever | true |
Response Requester. | |
uri | status? |
ParentPage.ChildPage?responder=renamePage&newName=NewChild&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewChild Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | href="ParentPage\.NewChild" | [false] expected [true] |
contents | ChildPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
SourcePage | refer to [[link][TargetPage]] | true |
TargetPage | whatever | true |
Response Requester. | |
uri | status? |
TargetPage?responder=renamePage&newName=NewTarget&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
SourcePage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewTarget Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | href="NewTarget" | [false] expected [true] |
contents | TargetPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | refer to [[link][^ChildPage]] | true |
ParentPage.ChildPage | whatever | true |
Response Requester. | |
uri | status? |
ParentPage.ChildPage?responder=renamePage&newName=NewChild&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewChild Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | href="ParentPage\.NewChild" | [false] expected [true] |
contents | ChildPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
TopPage | true | |
TopPage.TargetPage | true | |
TopPage.MiddlePage | true | |
TopPage.MiddlePage.MiddleTarget | true | |
TopPage.MiddlePage.ReferingPage | <TopPage.TargetPage <TopPage.MiddlePage.MiddleTarget | true |
Response Requester. | |
uri | status? |
TopPage?responder=renamePage&newName=RenamedTopPage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
RenamedTopPage.MiddlePage.ReferingPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: RenamedTopPage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href="RenamedTopPage\.TargetPage"><RenamedTopPage\.TargetPage</a> | [false] expected [true] |
contents | <a href="RenamedTopPage\.MiddlePage\.MiddleTarget"><RenamedTopPage\.MiddlePage\.MiddleTarget</a> | [false] expected [true] |
Response Requester. | |
uri | status? |
RenamedTopPage.MiddlePage?responder=renamePage&newName=RenamedMiddlePage&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
RenamedTopPage.RenamedMiddlePage.ReferingPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: RenamedTopPage.RenamedMiddlePage Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href="RenamedTopPage\.TargetPage"><RenamedTopPage\.TargetPage</a> | [false] expected [true] |
contents | <a href="RenamedTopPage\.RenamedMiddlePage\.MiddleTarget"><RenamedTopPage\.RenamedMiddlePage\.MiddleTarget</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
SourcePage | refer to TargetPage | true |
TargetPage | some page | true |
Response Requester. | |
uri | status? |
TargetPage?responder=renamePage&newName=NewTarget&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
SourcePage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: NewTarget Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | NewTarget | true |
contents | TargetPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | ||
Page name. | Page contents. | valid? |
ParentPage | refer to >ChildPage | true |
ParentPage.ChildPage | whatever | true |
Response Requester. | |
uri | status? |
ParentPage.ChildPage?responder=renamePage&newName=NewChild&refactorReferences=on | 303 |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | [false] expected [true] | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ParentPage.NewChild Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | >NewChild | [false] expected [true] |
contents | href="ParentPage\.NewChild" | [false] expected [true] |
contents | >ChildPage | false |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
local setup and scenario's
library |
page driver |
scenario | create symlink on | pageName | with name | name | link to | linkedPage |
check | request page | @pageName?responder=symlink&linkName=@name&linkPath=@linkedPage | 303 | |||
show | content | |||||
ensure | content contains | Location: @pageName?properties |
scenario | rename page | pageName | to | newPageName |
check | request page | @pageName?responder=renamePage&newName=@newPageName | 303 | |
show | content | |||
ensure | content contains | Location: @newPageName |
script | ||||||||||||||||||||||||||||||||||
create page | AnotherPage | with content | another page | |||||||||||||||||||||||||||||||
create symlink on | with name | LinkAnotherPage | link to | AnotherPage | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
ensure | page | LinkAnotherPage | is a symbolic link |
script | |||||||||||||||||||||||||||||
rename page | LinkAnotherPage | to | LinkSomeOtherPage | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
reject | page | LinkAnotherPage | exists | ||||||||||||||||||||||||||
ensure | page | AnotherPage | exists | ||||||||||||||||||||||||||
ensure | page | LinkSomeOtherPage | is a symbolic link | ||||||||||||||||||||||||||
page | LinkSomeOtherPage | should contain | another page | ||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteReplaceResponder.ScenarioLibrary (edit)
scenario | and given page | page | with content | content |
given page | @page | with content | @content |
scenario | when replacing | searchString | with | replacementString | starting from | pageName |
check | request page | @pageName?replace&searchString=@searchString&replacementString=@replacementString | 200 | |||
$RESPONSE= | content |
scenario | replacement response from | searchString | with | replacementString | should contain | contents |
check | request page | $IT?replace&searchString=@searchString&replacementString=@replacementString | 200 | |||
ensure | content contains | @contents | ||||
show | content |
scenario | it should list | pageName |
ensure | content contains | @pageName |
show | content |
scenario | and it should list | pageName |
it should list | @pageName |
scenario | and page | pageName | should contain | content |
page | @pageName | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteReplaceResponder.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | with content | some content | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and given page | ParentPage.SubPage | with content | some other content | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and given page | ParentPage.SubPage.ChildPage1 | with content | non-matching page content | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and given page | ParentPage.ChildPage2 | with content | some more matching content | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
when replacing | some | with | any | starting from | ParentPage | |||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
it should list | ParentPage | |||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and it should list | ParentPage.SubPage | |||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and it should list | ParentPage.ChildPage2 | |||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and page | ParentPage | should contain | any content | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and page | ParentPage.SubPage | should contain | any other content | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and page | ParentPage.SubPage.ChildPage1 | should contain | non-matching page content | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||
and page | ParentPage.ChildPage2 | should contain | any more matching content | |||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteReplaceResponder.ScenarioLibrary (edit)
scenario | and given page | page | with content | content |
given page | @page | with content | @content |
scenario | when replacing | searchString | with | replacementString | starting from | pageName |
check | request page | @pageName?replace&searchString=@searchString&replacementString=@replacementString | 200 | |||
$RESPONSE= | content |
scenario | replacement response from | searchString | with | replacementString | should contain | contents |
check | request page | $IT?replace&searchString=@searchString&replacementString=@replacementString | 200 | |||
ensure | content contains | @contents | ||||
show | content |
scenario | it should list | pageName |
ensure | content contains | @pageName |
show | content |
scenario | and it should list | pageName |
it should list | @pageName |
scenario | and page | pageName | should contain | content |
page | @pageName | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteReplaceResponder.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||
given page | SomePage | with content | group1 nogroup group2 | |||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
replacement response from | (group[^ ]*) nogroup (group[^ ]*) | with | $2 irrelevant $1 | should contain | SomePage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
page | SomePage | should contain | group2 irrelevant group1 | |||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteReplaceResponder.ScenarioLibrary (edit)
scenario | and given page | page | with content | content |
given page | @page | with content | @content |
scenario | when replacing | searchString | with | replacementString | starting from | pageName |
check | request page | @pageName?replace&searchString=@searchString&replacementString=@replacementString | 200 | |||
$RESPONSE= | content |
scenario | replacement response from | searchString | with | replacementString | should contain | contents |
check | request page | $IT?replace&searchString=@searchString&replacementString=@replacementString | 200 | |||
ensure | content contains | @contents | ||||
show | content |
scenario | it should list | pageName |
ensure | content contains | @pageName |
show | content |
scenario | and it should list | pageName |
it should list | @pageName |
scenario | and page | pageName | should contain | content |
page | @pageName | should contain | @content |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteReplaceResponder.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||
given page | SomePage | with content | some content | |||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
replacement response from | some | with | any | should contain | SomePage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
page | SomePage | should contain | any content | |||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
script | page driver | |||||||||||||||||
given page | ParentPage | with content | !path parentPath | |||||||||||||||
|
script | ||||||||||||||||||
given page | ParentPage.TestPage | with content | <br/>!define TEST_SYSTEM {SLIM}<br/>!define SLIM_PORT {9900}<br/>!path classes<br/>!path fitnesse-standalone.jar<br/><br/>!|Import| |fitnesse.fixtures| <br/>!|script|java properties| |show|property|java.class.path| | |||||||||||||||
|
script | ||||||||||||||||||||||||
page | ParentPage.TestPage?test | should contain | classes:fitnesse-standalone.jar:parentPath | |||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: SamplePages (edit)
Page creator. | ||
Page name. | Page contents. | valid? |
PageAbc | This page has ABCs | true |
XyzPage | A page with XYZ | true |
BasePage | This is the base page | true |
BasePage.ChildPage | This is the child page | true |
Response Requester. | |
uri | status? |
search?responder=search&searchType=content&searchString=PageAbc | 200 |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | Content Search | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 902 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.search.ResultResponder.doSending(ResultResponder.java:48) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | >PageAbc< | false |
contents | No pages matched your search criteria. | [false] expected [true] |
Response Requester. | |
uri | status? |
search?responder=search&searchType=content&searchString=ABC | 200 |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | PageAbc | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 902 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.search.ResultResponder.doSending(ResultResponder.java:48) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Requester. | |
uri | status? |
search?responder=search&searchType=content&searchString=xyz | 200 |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | XyzPage | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 902 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.search.ResultResponder.doSending(ResultResponder.java:48) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Requester. | |
uri | status? |
search?responder=search&searchType=content&searchString=page | 200 |
Response Examiner. | ||
type | pattern | matches? |
contents | PageAbc | [false] expected [true] |
contents | XyzPage | [false] expected [true] |
contents | BasePage | [false] expected [true] |
contents | BasePage.ChildPage | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Response Requester. | |
uri | status? |
?searchForm | 200 |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | <title>Search Form</title> | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 902 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.search.ResultResponder.doSending(ResultResponder.java:48) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | document\.forms\[0\].searchString.focus\(\) | [false] expected [true] |
contents | Search: | [false] expected [true] |
contents | Search Titles | [false] expected [true] |
contents | Search Content | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Included page: SamplePages (edit)
Page creator. | ||
Page name. | Page contents. | valid? |
PageAbc | This page has ABCs | true |
XyzPage | A page with XYZ | true |
BasePage | This is the base page | true |
BasePage.ChildPage | This is the child page | true |
Response Requester. | |
uri | status? |
search?responder=search&searchType=titles&searchString=blah | 200 |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | Title Search Results for 'blah' | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 902 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.search.ResultResponder.doSending(ResultResponder.java:48) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | No pages matched your search criteria. | [false] expected [true] |
Response Requester. | |
uri | status? |
search?responder=search&searchType=titles&searchString=ABC | 200 |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | PageAbc | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 902 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.search.ResultResponder.doSending(ResultResponder.java:48) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Requester. | |
uri | status? |
search?responder=search&searchType=titles&searchString=xyz | 200 |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | XyzPage | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 902 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.search.ResultResponder.doSending(ResultResponder.java:48) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Requester. | |
uri | status? |
search?responder=search&searchType=titles&searchString=page | 200 |
Response Examiner. | ||
type | pattern | matches? |
contents | PageAbc | [false] expected [true] |
contents | XyzPage | [false] expected [true] |
contents | BasePage | [false] expected [true] |
contents | BasePage.ChildPage | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
line | !|fitnesse.testutil.CrashFixture| |
line | |blah| |
page | TestPage |
Response Requester. | |
uri | valid? |
TestPage?responder=test | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href=\\"ErrorLogs.TestPage\\" class=\\"error\\">Errors Occurred</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
line | !|fitnesse.testutil.PassFixture| |
line | |blah| |
page | TestPage |
Response Requester. | |
uri | valid? |
TestPage?responder=test | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href=\\"ErrorLogs.TestPage\\" class=\\"ok\\">Tests Executed OK</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
line | !|fitnesse.testutil.OutputWritingFixture| |
line | |blah| |
page | TestPage |
Response Requester. | |
uri | valid? |
TestPage?responder=test | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href=\\"ErrorLogs.TestPage\\" class=\\"output\\">Output Captured</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
given page with content | ||||||||||||||||
page | content | |||||||||||||||
SuiteParent | !path ${java.class.path} !define TEST_SYSTEM (slim:A) !define SLIM_PORT (9000) |
|||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteSetUp | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteTearDown | ||||||||||||||||
| ||||||||||||||||
SuiteParent.TestOneOne | | script | fitnesse.fixtures.Pass | | ensure | ok | |
|||||||||||||||
| ||||||||||||||||
SuiteParent.TestOneTwo | | script | fitnesse.fixtures.Pass | | ensure | ok | |
|||||||||||||||
|
script | ||||
check | request page | SuiteParent?suite | 200 | |
show | content | HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 | ||
ensure | content contains | <strong>Test Pages:</strong> 4 right, 0 wrong, 0 ignored, 0 exceptions | ||
ensure | content matches | 0 right, 0 wrong, 0 ignored, 0 exceptions.*>SuiteSetUp</a> | ||
ensure | content matches | 0 right, 0 wrong, 0 ignored, 0 exceptions.*>SuiteTearDown</a> |
script | ||||
check | request page | SuiteParent?suite&format=xml | 200 | |
show | content | HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/xml 0 Exit-Code: 0 | ||
ensure | content matches | <finalCounts>.*<right>.*4.*</right>.*<wrong>.*0.*</wrong>.*<ignores>.*0.*</ignores>.*<exceptions>.*0.*</exceptions>.*</finalCounts> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
given page with content | ||||||||||||||||
page | content | |||||||||||||||
SuiteParent | !path ${java.class.path} !define TEST_SYSTEM (slim:A) !define SLIM_PORT (9000) |
|||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildOne | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildOne.SuiteSetUp | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildOne.SuiteTearDown | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildOne.TestOneOne | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildOne.TestOneTwo | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildTwo.SuiteSetUp | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildTwo.SuiteTearDown | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildTwo.TestTwoOne | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildTwo.TestTwoTwo | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildThree | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildThree.TestThreeOne | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildThree.TestThreeTwo | ||||||||||||||||
| ||||||||||||||||
SuiteParent.SuiteChildOne.TestOneThree | !define TEST_SYSTEM {slim:B} | |||||||||||||||
|
script | |||
check | request page | SuiteParent?suite | 200 |
ordered query:pages run in suite | SuiteChildOne | A |
page name | ||
[SuiteChildOne.SuiteSetUp] missing | ||
[SuiteChildOne.TestOneOne] missing | ||
[SuiteChildOne.TestOneTwo] missing | ||
[SuiteChildOne.SuiteTearDown] missing |
ordered query:pages run in suite | SuiteChildOne | B |
page name | ||
[SuiteChildOne.SuiteSetUp] missing | ||
[SuiteChildOne.TestOneThree] missing | ||
[SuiteChildOne.SuiteTearDown] missing |
ordered query:pages run in suite | SuiteChildTwo | A |
page name | ||
[SuiteChildTwo.SuiteSetUp] missing | ||
[SuiteChildTwo.TestTwoOne] missing | ||
[SuiteChildTwo.TestTwoTwo] missing | ||
[SuiteChildTwo.SuiteTearDown] missing |
ordered query:pages run in suite | SuiteChildThree | A |
page name | ||
[SuiteChildThree.TestThreeOne] missing | ||
[SuiteChildThree.TestThreeTwo] missing |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPage |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPage | [false] expected [true] |
Response Examiner. | ||
type | pattern | matches? |
contents | <div id="test-action"> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite&firstTest=TestPageTwo | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageTwo | [false] expected [true] |
contents | TestPageOne | false |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
line | !path fitnesse.jar |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=bad |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite&excludeSuiteFilter=bad | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne | false |
contents | TestPageTwo | [false] expected [true] |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPage |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPage | [false] expected [true] |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Prune=true |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne | [false] expected [true] |
contents | TestPageTwo | false |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=good!COMMA!better |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=good |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite&runTestsMatchingAllTags=good,better | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne | [false] expected [true] |
contents | TestPageTwo | false |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=good!COMMA!better |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=good!COMMA!better!COMMA!bad |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite&runTestsMatchingAllTags=good,better&excludeSuiteFilter=bad | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne | [false] expected [true] |
contents | TestPageTwo | false |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=good |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite&suiteFilter=good | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne | [false] expected [true] |
contents | TestPageTwo | false |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=good |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite&runTestsMatchingAnyTag=good | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne | [false] expected [true] |
contents | TestPageTwo | false |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
attributes | Suites=good |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite&runTestsMatchingAnyTag=good&suiteFilter=bad | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne | [false] expected [true] |
contents | TestPageTwo | false |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
line | |!-fitnesse.testutil.PassFixture-!| |
page | TestPage |
script | Page Builder |
line | !see TestPage |
page | SuitePage |
Response Requester. | |
uri | valid? |
SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPage | [false] expected [true] |
contents | Test Pages:.*1 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
page | SuitePage |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageOne |
script | Page Builder |
line | |!-fitnesse.testutil.PassFixture-!| |
page | SuitePage.TestPageTwo |
Response Requester. | |
uri | valid? |
SuitePage?responder=suite | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | TestPageOne.*TestPageTwo | [false] expected [true] |
contents | Test Pages:.*2 right | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Java Properties | |||
show | property | java.class.path | fitnesse-standalone.jar:fitnesse-standalone.jar:zork:/u01/app/fitnesse/lib/fitlibrary-2.0.jar:/u01/app/fitnesse/lib/commons-io-2.4.jar:/u01/app/fitnesse/lib/log4j-1.2.17.jar:/u01/app/fitnesse/lib/dbfit-mysql-2.0.0-RC4.jar:/u01/app/fitnesse/lib/dbfit-hsqldb-2.0.0-RC4.jar:/u01/app/fitnesse/lib/dbfit-oracle-2.0.0-RC4.jar:/u01/app/fitnesse/lib/mysql-connector-java-5.1.6.jar:/u01/app/fitnesse/lib/postgresql-9.1-901.jdbc4.jar:/u01/app/fitnesse/lib/ojdbc6.jar:/u01/app/fitnesse/lib/fitlibrary-20081102.jar:/u01/app/fitnesse/lib/dbfit-core-2.0.0-RC4.jar:/u01/app/fitnesse/lib/fitlibraryweb-2.0.jar:/u01/app/fitnesse/lib/dbfit-derby-2.0.0-RC4.jar:/u01/app/fitnesse/lib/guava-13.0.1.jar:/u01/app/fitnesse/lib/dbfit-sqlserver-2.0.0-RC4.jar:/u01/app/fitnesse/lib/evo-classindex-1.4.jar:/u01/app/fitnesse/lib/jtds-1.2.2.jar:/u01/app/fitnesse/lib/dbfit-postgres-2.0.0-RC4.jar:/u01/app/fitnesse/lib/commons-codec-1.7.jar:/u01/app/fitnesse/lib/dbfit-db2-2.0.0-RC4.jar | |
property | java.class.path | should match | .*zork.* |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
line | |!-fitnesse.testutil.PassFixture-!| |
page | TestPage |
Response Requester. | |
uri | valid? |
TestPage?responder=test | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | class="pass" | [false] expected [true] |
contents | Assertions:.*\s+.*?1 right, 0 wrong, 0 ignored, 0 exceptions | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.TestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !path ${java.class.path} |
line | |!-fitnesse.testutil.PassFixture-!| |
page | TestPage |
Response Requester. | |
uri | valid? |
TestPage?responder=test | true |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | <li id="test-action"> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Authenticator Setup | ||
username | password | status? |
Aladdin | open sesame | ok |
Page creator. | |
Page name. | valid? |
FrontPage | true |
Response Requester. | |||
uri | username | password | status? |
FrontPage?responder=saveData&pageContent=hi+there&editTime=0&ticketId=0 | Aladdin | open sesame | 303 |
FrontPage?responder=saveData&pageContent=by now&editTime=0&ticketId=0 | Aladdin | open sesame | 303 |
Response Requester. | |||
uri | username | password | status? |
FrontPage?versions | Aladdin | open sesame | [303] expected [200] |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | contents? |
contents | >Aladdin< | [false] expected [true] | HTTP/1.1 303 See Other Content-Length: 0 Location: FrontPage Connection: close Server: FitNesse-v20130321 Previous-Version: 419 Content-Type: text/html; charset=utf-8 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |
Page name. | valid? |
VersionsPage | true |
Response Requester. | |
uri | status? |
VersionsPage?responder=saveData&pageContent=a+change&editTime=0&ticketId=0 | 303 |
VersionsPage?responder=saveData&pageContent=another+change&editTime=0&ticketId=0 | 303 |
Response Requester. | |
uri | status? |
VersionsPage?versions | [303] expected [200] |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | >Compare< | [false] expected [true] |
contents | >Name< | [false] expected [true] |
contents | >Author< | [false] expected [true] |
contents | >Age< | [false] expected [true] |
Response Examiner. | |||
type | pattern | matches? | matchCount? |
contents | href="\?responder=viewVersion&version= | [false] expected [true] | [0] expected [4] |
contents | input type="checkbox" name="Version_ | [false] expected [true] | [0] expected [4] |
Response Examiner. |
contents? |
HTTP/1.1 303 See Other Content-Length: 0 Location: VersionsPage Connection: close Server: FitNesse-v20130321 Previous-Version: 426 Content-Type: text/html; charset=utf-8 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
[somePage]?namesIt responds with a text/plain list of all the page names below the specified page, one per line. If no page is specified then it responds with all page names at the root level. No subpage names are returned.
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
PageOne | page one | true |
Response Requester. | |
uri | valid? |
?names | true |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | PageOne | true | <pre>HTTP/1.1 200 OK Content-Length: 7 Connection: close Server: FitNesse-v20130321 Content-Type: text/plain PageOne</pre> |
Response Examiner. | ||
type | pattern | matches? |
headers | text/plain | true |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
PageTwo | page two | true |
Response Requester. | |
uri | valid? |
?names | true |
Response Examiner. | ||
type | pattern | matches? |
contents | PageOne | true |
contents | PageTwo | true |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
PageOne.SubOne | sub one | true | |
PageOne.SubTwo | sub two | true |
Response Requester. | |
uri | valid? |
?names | true |
Response Examiner. | ||
type | pattern | matches? |
contents | PageOne | true |
contents | PageTwo | true |
contents | SubOne | false |
contents | SubTwo | false |
Response Requester. | |
uri | valid? |
PageOne?names | true |
Response Examiner. | ||
type | pattern | matches? |
contents | PageOne | false |
contents | PageTwo | false |
contents | SubOne | true |
contents | SubTwo | true |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | page driver | |||||||||||||||||
given page | PacketPage | with content | |Bob| ||Angela| |||Lexy|6| |||Sami|4| |||Mandy|2| ||Micah| |||Luka|5| ||Gina| ||Justin| | |||||||||||||||
| ||||||||||||||||||
request page | $IT->[PacketPage]?packet | |||||||||||||||||
contains json packet | {"tables": [{"Bob": {<br/> "Angela": {<br/> "Lexy": "6",<br/> "Mandy": "2",<br/> "Sami": "4"<br/> },<br/> "Gina": {},<br/> "Justin": {},<br/> "Micah": {"Luka": "5"}<br/>}}]} | |||||||||||||||||
show | content | HTTP/1.1 200 OK Content-Length: 140 Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 {"tables": [{"Bob": { "Angela": { "Lexy": "6", "Mandy": "2", "Sami": "4" }, "Gina": {}, "Justin": {}, "Micah": {"Luka": "5"} }}]} |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Response Requester. | |
uri | status? |
root?responder=saveData&editTime=1&ticketId=2&pageContent=!define+RSS_PREFIX+{http://www.myserver.com/} | 303 |
PageOne?responder=saveData&editTime=1&ticketId=2&pageContent=blah | 303 |
PageTwo?responder=saveData&editTime=1&ticketId=2&pageContent=blah | 303 |
Response Requester. | |
uri | status? |
?responder=rss | 200 |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | <\?xml version="1.0"\?> | true | <pre>HTTP/1.1 200 OK Content-Length: 687 Connection: close Server: FitNesse-v20130321 Content-Type: text/xml <?xml version="1.0"?> <rss version="2.0"> <channel> <title>FitNesse:</title> <item> <title>PageTwo</title> <pubDate>Thu, 9 May 2013 11:51:19 +0300</pubDate> <link>http://www.myserver.com/PageTwo</link> <description>Thu, 9 May 2013 11:51:19 +0300</description> </item> <item> <title>PageOne</title> <pubDate>Thu, 9 May 2013 11:51:19 +0300</pubDate> <link>http://www.myserver.com/PageOne</link> <description>Thu, 9 May 2013 11:51:19 +0300</description> </item> <item> <pubDate>Thu, 9 May 2013 11:51:19 +0300</pubDate> <link>http://www.myserver.com/</link> <description>Thu, 9 May 2013 11:51:19 +0300</description> </item> </channel> </rss> </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | <rss version="2.0"> | true |
contents | <title>PageOne</title> | true |
contents | <link>http://www.myserver.com/PageOne</link> | true |
contents | <title>PageTwo</title> | true |
contents | <link>http://www.myserver.com/PageTwo</link> | true |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
FitNesse Status |
isRunning? |
true |
Response Requester. | |
uri | valid? |
?responder=shutdown | true |
__EXCEPTION__:java.lang.NullPointerException |
Sleep | 100 |
FitNesse Status |
isRunning? |
[true] expected [false] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
import |
fitnesse.slim.test |
fitnesse.fixtures |
script | echo fixture | |
$TEST_SLIM<-[TestSlim] | echo | TestSlim |
script | $TEST_SLIM->[TestSlim] | |
ensure | echo boolean | true |
$TEST_SLIM->[TestSlim] | |
string | get string arg? |
Bob | Bob |
script | echo fixture | |
$QUERY<-[Query] | echo | Query |
Query:Test$QUERY->[Query] | 1 |
n | 2n |
1 | 2 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
import |
fitnesse.slim.test |
script | test slim | |
$TEST_SLIM_INSTANCE<-[TestSlim: 0, Uncle] | create test slim with string | Uncle |
start | $TEST_SLIM_INSTANCE->[TestSlim: 0, Uncle] | |
check | get string arg | Uncle |
$TEST_SLIM_INSTANCE->[TestSlim: 0, Uncle] |
get string arg? |
Uncle |
scenario | do something with | name | and restore old fixture |
push fixture | |||
start | test slim | ||
set string | @name | ||
check | get fixture | TestSlim: 0, @name | |
check | get string arg | @name | |
$@name_INSTANCE= | get fixture | ||
pop fixture |
script | test slim | 2 | ||||||||||||||||||||||||||||||||
set string | Uncle | |||||||||||||||||||||||||||||||||
check | get fixture | TestSlim: 2, Uncle | ||||||||||||||||||||||||||||||||
do something with | Bob | and restore old fixture | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
check | get string arg | Uncle |
script | $Bob_INSTANCE->[TestSlim: 0, Bob] | |
check | get string arg | Bob |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Table Or Decision Fixture |
parsing as? |
Parsed as Decision fixture |
Define Table Type | |
Table or Decision Fixture | as Table |
Table Or Decision Fixture | |
parsing as? | Parsed as Table fixture |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | fitnesse.slim.test.TestSlim | ||
$VALUE<-[Bob] | echo string | Bob | |
$VALUEX<-[bill] | echo string | bill |
script | |||
check | echo string | $VALUE->[Bob] | Bob |
check | echo string | $VALUEX->[bill] | bill |
check | echo string | $VALUE->[Bob] $VALUEX->[bill] | Bob bill |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||
send | <table class="hash_table"> <tr class="hash_row"> <td class="hash_key">name</td> <td class="hash_value">bob</td> </tr> <tr class="hash_row"> <td class="hash_key">address</td> <td class="hash_value">here</td> </tr> </table> | as hash | ||
check | hash | name | is | bob |
check | hash | address | is | here |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.ScenarioLibrary (edit)
scenario | given installed library echo support |
note | Library is installed via Library table above |
scenario | when a method not present on the fixture is called |
echo |
scenario | then it should be called on the installed library |
ensure | echo support called |
scenario | given multiple libraries with the same methods |
note | See for installed libraries the Library table above |
scenario | when such a method is called |
echo |
scenario | then the last library created takes precedence over earlier created libraries |
ensure | special echo support called |
reject | echo support called |
scenario | given a library installed in the setup page |
given installed library echo support |
scenario | then is should have been invoked on the library in the setup page |
ensure | echo in set up library called |
scenario | then the one one installed in this page takes precedence over the one in the setup page |
ensure | echo support called |
reject | echo in set up library called |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.SetUp (edit)
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Import |
fitnesse.slim.test.library |
Library |
echo support |
special echo support |
script | library fixture | ||||||
given multiple libraries with the same methods | |||||||
| |||||||
when such a method is called | |||||||
| |||||||
then the last library created takes precedence over earlier created libraries | |||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.ScenarioLibrary (edit)
scenario | given installed library echo support |
note | Library is installed via Library table above |
scenario | when a method not present on the fixture is called |
echo |
scenario | then it should be called on the installed library |
ensure | echo support called |
scenario | given multiple libraries with the same methods |
note | See for installed libraries the Library table above |
scenario | when such a method is called |
echo |
scenario | then the last library created takes precedence over earlier created libraries |
ensure | special echo support called |
reject | echo support called |
scenario | given a library installed in the setup page |
given installed library echo support |
scenario | then is should have been invoked on the library in the setup page |
ensure | echo in set up library called |
scenario | then the one one installed in this page takes precedence over the one in the setup page |
ensure | echo support called |
reject | echo in set up library called |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.LibraryInSetUpSuite.SetUp (edit)
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.SetUp (edit)
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Import |
fitnesse.slim.test.library |
Library |
library in set up |
Library |
echo support |
script | ||||||
given multiple libraries with the same methods | ||||||
| ||||||
when such a method is called | ||||||
| ||||||
then the one one installed in this page takes precedence over the one in the setup page | ||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.ScenarioLibrary (edit)
scenario | given installed library echo support |
note | Library is installed via Library table above |
scenario | when a method not present on the fixture is called |
echo |
scenario | then it should be called on the installed library |
ensure | echo support called |
scenario | given multiple libraries with the same methods |
note | See for installed libraries the Library table above |
scenario | when such a method is called |
echo |
scenario | then the last library created takes precedence over earlier created libraries |
ensure | special echo support called |
reject | echo support called |
scenario | given a library installed in the setup page |
given installed library echo support |
scenario | then is should have been invoked on the library in the setup page |
ensure | echo in set up library called |
scenario | then the one one installed in this page takes precedence over the one in the setup page |
ensure | echo support called |
reject | echo in set up library called |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.LibraryInSetUpSuite.SetUp (edit)
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.SetUp (edit)
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Import |
fitnesse.slim.test.library |
Library |
library in set up |
script | library fixture | ||||||||||
given a library installed in the setup page | |||||||||||
| |||||||||||
when a method not present on the fixture is called | |||||||||||
| |||||||||||
then is should have been invoked on the library in the setup page | |||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.ScenarioLibrary (edit)
scenario | given installed library echo support |
note | Library is installed via Library table above |
scenario | when a method not present on the fixture is called |
echo |
scenario | then it should be called on the installed library |
ensure | echo support called |
scenario | given multiple libraries with the same methods |
note | See for installed libraries the Library table above |
scenario | when such a method is called |
echo |
scenario | then the last library created takes precedence over earlier created libraries |
ensure | special echo support called |
reject | echo support called |
scenario | given a library installed in the setup page |
given installed library echo support |
scenario | then is should have been invoked on the library in the setup page |
ensure | echo in set up library called |
scenario | then the one one installed in this page takes precedence over the one in the setup page |
ensure | echo support called |
reject | echo in set up library called |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.LibrarySuite.SetUp (edit)
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Import |
fitnesse.slim.test.library |
Library |
echo support |
script | library fixture |
script | ||||
given installed library echo support | ||||
| ||||
when a method not present on the fixture is called | ||||
| ||||
then it should be called on the installed library | ||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
import |
fitnesse.slim.test |
test slim | 3 |
string | getStringArg? |
Bob | Bob |
Köln | Köln |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
scenario | login user _ with password _ | user name, password | |
check | echo | @userName | Bob |
check | echo | @password | xyzzy |
script | ||||||||||||
login user Bob with password xyzzy | ||||||||||||
|
scenario | beat | name | with a | object |
check | echo | @name | Bill | |
check | echo | @object | noodle |
script | |||||||||||||||
beat Bill with a noodle | |||||||||||||||
|
login user with password | |||||||||||||
user name | password | ||||||||||||
Bob | xyzzy | ||||||||||||
|
script | |||||||||||||||
login user | Bob | with password | xyzzy | ||||||||||||
|
script | ||||||||||||||
login user with password; | Bob | xyzzy | ||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Query:SplitFixture | Bob;Bill;Ben |
1 | |
Bob | |
Bill | |
Ben |
Query:SplitFixture | Bob;Bill;Ben |
1 | |
Bob | |
Ben | |
Bill |
Subset Query:SplitFixture | Bob;Bill;Ben |
1 | |
Ben | |
Bill |
Query:SplitFixture | Bob,Martin;Bill,Jones;Ben,Jacobs |
1 | 2 |
Bob | Martin |
Bill | Jones |
Ben | Jacobs |
Query:SplitFixture | Bob,Martin;Bill,Jones;Ben,Jacobs |
1 | 2 |
Bob | /Mar.*/ found in: Martin |
Bill | /one/ found in: Jones |
/en/ found in: Ben | Jacobs |
Query:SplitFixture | 1.1,2.3;5.5,6.9;3.1,5 |
1 | 2 |
1.1 | 2.3<3 |
5.5>3 | 5<6.9<7 |
3.1~=3 | 5!=6 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||
check | echo | Bob | /Bob/ found in: Bob |
check | echo | My name is Bob Martin. | /Bob/ found in: My name is Bob Martin. |
check | echo | The name of Bob shall persist. | /B.b/ found in: The name of Bob shall persist. |
check not | echo | Pete | /Bob/ not found in: Pete |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Lighthouse issue #162. Found by student in Oslo, October, 2009
scenario | f | a | b | |
start | fitnesse.slim.test.TestSlim |
script | |||||||||||||
f | 1 | 2 | |||||||||||
| |||||||||||||
pass | |||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||
create page | ScenarioLibrary | with content | brother content | ||||||||||||||||||||||||||||||||||||||
given slim test page | TestPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | brother content | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||
create page | GrandParentPage | with content | |||||||||||||||||||||||||||||||||||||||
create page | GrandParentPage.ParentPage | with content | |||||||||||||||||||||||||||||||||||||||
create page | ScenarioLibrary | with content | grand uncle | ||||||||||||||||||||||||||||||||||||||
create page | GrandParentPage.ScenarioLibrary | with content | uncle | ||||||||||||||||||||||||||||||||||||||
create page | GrandParentPage.ParentPage.ScenarioLibrary | with content | brother | ||||||||||||||||||||||||||||||||||||||
given slim test page | GrandParentPage.ParentPage.TestPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | brother | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | uncle | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | grand uncle | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||
given slim test page | TestPage | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
it should not contain | Scenario Libraries | ||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.ScenarioLibraryTestSuite.ScenarioLibariesOrderTests.ScenarioLibrary (edit)
scenario | one | |
$ONE= | echo | 1 |
scenario | two | |
$TWO= | echo | 1 |
scenario | three | |
$THREE= | echo | 1 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.ScenarioLibraryTestSuite.ScenarioLibariesOrderTests.ScenarioLibraryOrderSuite.ScenarioLibrary (edit)
scenario | two | |
$TWO= | echo | 2 |
scenario | three | |
$THREE= | echo | 2 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.ScenarioLibraryTestSuite.ScenarioLibariesOrderTests.ScenarioLibraryOrderSuite.ScenarioLibraryOrderTestParent.ScenarioLibrary (edit)
scenario | three | |
$THREE= | echo | 3 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||
one | |||||||||
| |||||||||
two | |||||||||
| |||||||||
three | |||||||||
| |||||||||
check | echo | $ONE->[1] | 1 | ||||||
check | echo | $TWO->[2] | 2 | ||||||
check | echo | $THREE->[3] | 3 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||||||||||||
create page | GrandParentPage | with content | ||||||||||||||||||||||||||||||||
create page | GrandParentPage.ParentPage | with content | ||||||||||||||||||||||||||||||||
create page | ScenarioLibrary | with content | granduncy | |||||||||||||||||||||||||||||||
create page | GrandParentPage.ScenarioLibrary | with content | uncle | |||||||||||||||||||||||||||||||
create page | GrandParentPage.ParentPage.ScenarioLibrary | with content | brother | |||||||||||||||||||||||||||||||
given slim test page | GrandParentPage.ParentPage.TestPage | |||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
it should contain | brother | in line | BROTHER_LINE | |||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
it should contain | uncle | in line | UNCLE_LINE | |||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
it should contain | granduncy | in line | GRAND_UNCLE_LINE | |||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
the line | BROTHER_LINE | should come after | UNCLE_LINE | |||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
the line | UNCLE_LINE | should come after | GRAND_UNCLE_LINE | |||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||
create page | ScenarioLibrary | with content | |||||||||||||||||||||||||||||||||||||||
given page | SomePage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should not contain | Scenario Libraries | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.ScenarioLibraryTestSuite.ScenarioLibraryShouldIncludeIncludedPages.ScenarioLibrary (edit)
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||
scenario in included page | ||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||
given page ScenarioLibrary with content "brother content" | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
given test page TestPage | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
it should not contain "brother content" | |||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
scenario | f |
scenario | g | a |
script | |||||||||
f | |||||||||
| |||||||||
g | 1 | ||||||||
| |||||||||
pass | |||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
import |
fitnesse.slim.test |
script | test slim | ||
$TEST_SLIM_INSTANCE<-[TestSlim: 0, Uncle] | create test slim with string | Uncle | |
check | get string arg | null | |
reject | is same | $TEST_SLIM_INSTANCE->[TestSlim: 0, Uncle] | |
check | get string from other | $TEST_SLIM_INSTANCE->[TestSlim: 0, Uncle] | Uncle |
check | return constructor arg | 0 |
script | |||
start | test slim | 1 | $TEST_SLIM_INSTANCE |
check | get string arg | Uncle | |
check | return constructor arg | 1 | |
reject | is same | $TEST_SLIM_INSTANCE->[TestSlim: 0, Uncle] |
script | $TEST_SLIM_INSTANCE->[TestSlim: 0, Uncle] | |
ensure | is same | $TEST_SLIM_INSTANCE->[TestSlim: 0, Uncle] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||
$x<-[bob] | echo | bob | |
check | echo | $$x->[bob] | $$x->[bob] |
check | echo | $$a | $$a |
check | echo | $$ | $$ |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | fitnesse.fixtures.EchoFixture | |||
$Table_<-[<table><tr><td>Test</td></tr></table>] | echo | <table><tr><td>Test</td></tr></table> | ||
check | echo | $Table_->[<table><tr><td>Test</td></tr></table>] | $Table_->[<table><tr><td>Test</td></tr></table>] | |
show | echo | $Table_->[<table><tr><td>Test</td></tr></table>] | <table><tr><td>Test</td></tr></table> |
script | ||||||||||||||||||||||||
given page | TestPage | with content | !path ${java.class.path} !define TEST_SYSTEM {slim} |script| fitnesse.fixtures.EchoFixture | | $Table= | echo | !-<table><tr><td>Test</td></tr></table>-! | | check | echo | $Table | $Table | | show | echo | $Table | | |||||||||||||||||||||
| ||||||||||||||||||||||||
test results for page | TestPage | should contain | $Table<-[<table><tr><td>Test</td></tr></table>] | |||||||||||||||||||||
| ||||||||||||||||||||||||
ensure | content contains | $Table->[<table><tr><td>Test</td></tr></table>] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Import |
fitnesse.slim.test |
null fixture |
get null? |
$NULL<-[null] |
null |
null fixture | $NULL |
script | test slim | ||
check | echo string | $NULL->[null] | null |
null fixture |
get blank? |
$BLANK<-[] |
null fixture | $BLANK |
script | test slim | ||
check | echo string | $BLANK->[] | BLANK |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
SystemExitTable Could not invoke constructor for SystemExitTable[0] | |
System exit code | exception message? |
0 Method setSystemExitCode[1] not found in fitnesse.fixtures.TableOrDecisionFixture. | prevented system exit with exit code 0 Method exceptionMessage[0] not found in fitnesse.fixtures.TableOrDecisionFixture. |
1 Method setSystemExitCode[1] not found in fitnesse.fixtures.TableOrDecisionFixture. | prevented system exit with exit code 1 Method exceptionMessage[0] not found in fitnesse.fixtures.TableOrDecisionFixture. |
42 Method setSystemExitCode[1] not found in fitnesse.fixtures.TableOrDecisionFixture. | prevented system exit with exit code 42 Method exceptionMessage[0] not found in fitnesse.fixtures.TableOrDecisionFixture. |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Import |
fitnesse.slim.test |
script | MySystemUnderTestDriver |
foo | |
ensure | driver called |
reject | system under test called |
script | MySystemUnderTestDriver |
bar | |
reject | driver called |
ensure | system under test called |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Table:fitnesse.slim.test.DummyTableTableReturnsNull No results from table |
script | ||||||||
pass | ||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
import |
fitnesse.slim.test |
script | test slim | |
$X<-[99] | echo int | 99 |
script | test slim | $X |
check | return constructor arg | 99 |
script | ||
start | test slim | $X |
check | return constructor arg | 99 |
test slim | $X |
return constructor arg? | |
99 |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Scenarios
scenario | comparator | a | accepts | b |
check | echo | @b | @a |
scenario | comparator | a | rejects | b |
check not | echo | @b | @a |
script | echo fixture |
script | |||||||||||||
comparator | =5 | accepts | 5 | ||||||||||
| |||||||||||||
comparator | =5 | rejects | 6 | ||||||||||
| |||||||||||||
comparator | !=5 | accepts | 6 | ||||||||||
| |||||||||||||
comparator | !=5 | rejects | 5 | ||||||||||
| |||||||||||||
comparator | >=5 | accepts | 5 | ||||||||||
| |||||||||||||
comparator | >=5 | rejects | 4 | ||||||||||
| |||||||||||||
comparator | >5 | accepts | 6 | ||||||||||
| |||||||||||||
comparator | >5 | rejects | 5 | ||||||||||
| |||||||||||||
comparator | >5 | rejects | 4 | ||||||||||
| |||||||||||||
comparator | <=5 | accepts | 5 | ||||||||||
| |||||||||||||
comparator | <=5 | rejects | 6 | ||||||||||
| |||||||||||||
comparator | <5 | accepts | 4 | ||||||||||
| |||||||||||||
comparator | <5 | rejects | 5 | ||||||||||
| |||||||||||||
comparator | <5 | rejects | 6 | ||||||||||
| |||||||||||||
comparator | ~=5.0 | accepts | 4.95 | ||||||||||
| |||||||||||||
comparator | ~=5.0 | accepts | 5.05 | ||||||||||
| |||||||||||||
comparator | ~=5.0 | rejects | 4.94 | ||||||||||
| |||||||||||||
comparator | ~=5.0 | rejects | 5.06 | ||||||||||
| |||||||||||||
comparator | !~=5.0 | accepts | 4.94 | ||||||||||
| |||||||||||||
comparator | !~=5.0 | accepts | 5.06 | ||||||||||
| |||||||||||||
comparator | !~=5.0 | rejects | 4.95 | ||||||||||
| |||||||||||||
comparator | !~=5.0 | rejects | 5.05 | ||||||||||
| |||||||||||||
comparator | 3<=_<=5 | accepts | 5 | ||||||||||
| |||||||||||||
comparator | 3<=_<=5 | accepts | 3 | ||||||||||
| |||||||||||||
comparator | 3<=_<=5 | accepts | 4 | ||||||||||
| |||||||||||||
comparator | 3<_<5 | accepts | 4 | ||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||
given page | TestPage | with content | !path ${java.class.path} !define TEST_SYSTEM {slim} |lorem ipsum | |foo |bar |baz?| |dolor |sit |amet| |consectetur|adipiscing|elit| | |||||||||||||||||||||
| ||||||||||||||||||||||||
test results for page | TestPage | should contain | 0 right, 0 wrong, 0 ignored, 7 exceptions | |||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | ||||||||||||||||||||||||
given page | TestPage | with content | !path ${java.class.path} !define TEST_SYSTEM {slim} | import | | fitnesse.slim.test | | decision table execute throws | | x? | | 1 | | |||||||||||||||||||||
| ||||||||||||||||||||||||
test results for page | TestPage | should contain | __EXCEPTION__:fitnesse.slim.SlimError: EXECUTE_THROWS | |||||||||||||||||||||
| ||||||||||||||||||||||||
ensure | content contains | at fitnesse.slim.test.DecisionTableExecuteThrows |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Ordered Query:duplicate rows | A |
x | |
SuiteChildOne.SuiteSetUp | |
SuiteChildOne.TestOneOne | |
SuiteChildOne.TestOneTwo | |
SuiteChildOne.SuiteTearDown | |
SuiteChildOne.SuiteSetUp | |
SuiteChildOne.TestOneThree | |
SuiteChildOne.SuiteTearDown |
Ordered Query:duplicate rows | B |
x | |
SuiteChildOne.SuiteSetUp | |
SuiteChildOne.TestOneThree | |
SuiteChildOne.SuiteTearDown | |
SuiteChildOne.SuiteSetUp | |
SuiteChildOne.TestOneOne | |
SuiteChildOne.TestOneTwo | |
SuiteChildOne.SuiteTearDown |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | fitnesse.slim.test.TestSlim | |||
concatenate three args; | 1 | 2.0 | three | |
concatenate | a | three args; | b | c |
concatenate three | x | args; | why | zee |
script | ||||||
$RESULT_WITH_EVERY_OTHER_CELL_PROCESSING<-[a b c] | concatenate | a | three | b | args | c |
$RESULT_WITH_SEQUENTIAL_CELL_PROCESSING<-[a b c] | concatenate three args; | a | b | c | ||
$RESULT_WITH_MIXED_PROCESSING<-[a b c] | concatenate | a | three args; | b | c | |
check | echo string | $RESULT_WITH_SEQUENTIAL_CELL_PROCESSING->[a b c] | $RESULT_WITH_EVERY_OTHER_CELL_PROCESSING->[a b c] | |||
check | echo string | $RESULT_WITH_MIXED_PROCESSING->[a b c] | $RESULT_WITH_EVERY_OTHER_CELL_PROCESSING->[a b c] |
script | ||||||
check | concatenate three args; | 1 | 2.0 | three | 1 2.0 three | |
check not | concatenate three args; | a | b | c | something else | |
show | concatenate three args; | a | b | c | a b c |
scenario | concatenate | input1 | and | input2 | and | input3 |
$RESULT= | concatenate three args; | @input1 | @input2 | @input3 |
script | |||||||||||||||||||
concatenate | a | and | b | and | c | ||||||||||||||
| |||||||||||||||||||
check | echo string | $RESULT->[a b c] | a b c |
concatenate | input1 | and | input2 | and | input3 | ||||||||||||||
input1 | input2 | input3 | |||||||||||||||||
x | y | z | |||||||||||||||||
|
script | |||
check | echo string | $RESULT->[x y z] | x y z |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Subset Query:duplicate rows | A |
x |
Subset Query:duplicate rows | A |
x | |
SuiteChildOne.SuiteSetUp | |
SuiteChildOne.TestOneOne | |
SuiteChildOne.TestOneTwo | |
SuiteChildOne.SuiteTearDown | |
SuiteChildOne.SuiteSetUp | |
SuiteChildOne.TestOneThree | |
SuiteChildOne.SuiteTearDown |
Subset Query:duplicate rows | A |
x | |
SuiteChildOne.TestOneTwo | |
SuiteChildOne.SuiteTearDown | |
SuiteChildOne.SuiteSetUp | |
SuiteChildOne.TestOneThree |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
import |
fitnesse.slim.test |
script | test slim |
scenario | should be bill | value | |
check | echo string | @value | bill |
script | ||||||||||
$x<-[bill] | echo string | bill | ||||||||
should be bill | $x->[bill] | |||||||||
|
script | ||
$x<-[bob] | echo string | bob |
script | ||||||||||
$x<-[bill] | echo string | bill | ||||||||
should be bill | $x->[bill] | |||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
import |
fitnesse.slim.test |
scenario | login |
connect to server |
scenario | connect as | username | with | password |
login with username | @username | and Password | @password |
scenario | login with | name |
connect to server as | @name |
scenario | connect as | username | with | password |
login with username | @username | and Password | @password |
script | |||||||||||||
start | Login Dialog Driver | bob | xyzz | ||||||||||
connect as | bob | with | xyzz | ||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteSlimTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Lighthouse #126
There was a bug that caused tests to silently fail, and suites to abort without notification if there were two tables on a page that were identical in every way. This was discovered when a Scenario Library was included twice.import |
me |
import |
me |
script | ||||||||
pass | ||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 0 | 30 | 0 | 15 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a | fail_count | with class | fail | and value | 45 | |||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
script | ||||||||||||||||||||||||||||||||||||||||||||
assume time is | 12/5/2009 00:00:00 | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
given page | SuiteOne | with content | !path ${java.class.path} <br/>!define TEST_SYSTEM (slim)<br/>!define SLIM_PORT (9000)<br/> | |||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
with subpage | TestOne | with content | !|script|fitnesse.slim.test.EchoScript| |check|echo|7|7| | |||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
with subpage | TestTwo | with content | !|script|fitnesse.slim.test.EchoScript| |check|echo|7|7| | |||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
with subpage | TestThree | with content | !|script|fitnesse.slim.test.EchoScript| |check|echo|7|8| | |||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
run suite | SuiteOne | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
get history for page | SuiteOne | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
The page history bar for | 5-Dec-2009 | should have a | fail_count | with class | fail | and value | 1 | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
The page history bar for | 5-Dec-2009 | should have a | pass_count | with class | pass | and value | 2 | |||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
SuitePage.TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||
get history for page | SuitePage.TestPage | |||||||||||||||||||||||
| ||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||
| ||||||||||||||||||||||||
the page title should be a link to | SuitePage.TestPage | with value | TestPage | |||||||||||||||||||||
| ||||||||||||||||||||||||
the bread crumb | SuitePage | should be a link to | SuitePage | |||||||||||||||||||||
|
Response Examiner |
wrapped html? |
<pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 20 | 00 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||
| ||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||
| ||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a date field with class | pass | |||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a | pass_count | with class | pass | and value | 20 | |||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 0 | 0 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||
| ||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||
| ||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a date field with class | ignore | |||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 20 | 0 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a | fail_count | with class | ignore | and value | 0 | |||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 0 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a | pass_count | with class | ignore | and value | 0 | |||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 0 | 20 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||
| ||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||
| ||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a date field with class | fail | |||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
The page history bar for | 5-May-2009 | should have a | fail_count | with class | fail | and value | 30 | |||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||||
| ||||||||||||||||||||||||
The page history line for | 05 May, 09 00:00 | should be a link to result | 20090505000000 | |||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||
| ||||||||||||||||||||||
the number of page histories should be | 1 | |||||||||||||||||||||
|
the page history bar for | date | should have | number | elements of class | class | ||||||||||||||||||||||||||||||||||||
date | number | class | |||||||||||||||||||||||||||||||||||||||
5-May-2009 | 20 | pass | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
5-May-2009 | 30 | fail | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
5-May-2009 | 0 | ignore | |||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
TestPage | 6-May-2009 | 60 | 40 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||||||
get history for page | TestPage | |||||||||||||||||||||
| ||||||||||||||||||||||
the number of page histories should be | 2 | |||||||||||||||||||||
|
the page history bar for | date | should have | n | elements of class | class | ||||||||||||||||||||||||||||||||||||
date | number | class | |||||||||||||||||||||||||||||||||||||||
5-May-2009 | 10 | pass | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
5-May-2009 | 15 | fail | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
5-May-2009 | 25 | ignore | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
6-May-2009 | 30 | pass | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
6-May-2009 | 20 | fail | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
6-May-2009 | 0 | ignore | |||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
SuitePage.TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | |||||||||||||||||||
get top level history | |||||||||||||||||||
| |||||||||||||||||||
the top level history line for | SuitePage.TestPage | is a link to the page history | |||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
SuitePage.TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | |||||||||||||||||||||||||
get top level history | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
the top level history line for | SuitePage.TestPage | should have a | fail | link with | - | to result | 20090505000000 | ||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
SuitePage.TestPage | 1-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 2-May-2009 | 20 | 0 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 3-May-2009 | 0 | 0 | 1 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 4-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 5-May-2009 | 0 | 1 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 6-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 7-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 8-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 9-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 10-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 11-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 12-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 13-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 14-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 15-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 16-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 17-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 18-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 19-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 20-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
SuitePage.TestPage | 21-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | |||||||||||||||||
get top level history | |||||||||||||||||
|
script | |||||||||||||
the top level history line for | SuitePage.TestPage | should not have a link to | 20090501000000 | ||||||||||
|
the top level history line for | page | should have a | class | link with | sign | to result | resultDate | ||||||||||||||||||
page | class | sign | resultDate | ||||||||||||||||||||||
SuitePage.TestPage | pass | + | 20090502000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090503000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090504000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090505000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090506000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090507000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090508000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090509000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090510000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090511000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090512000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090513000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090514000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090515000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090516000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090517000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090518000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090519000000 | ||||||||||||||||||||||
| |||||||||||||||||||||||||
SuitePage.TestPage | fail | - | 20090520000000 | ||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
OneFailPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
OnePassPage | 5-May-2009 | 20 | 0 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
OnePassOneFail | 5-May-2009 | 1 | 0 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
OnePassOneFail | 6-May-2009 | 0 | 1 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory | |||||
OneError | 5-May-2009 | 0 | 0 | 0 | 1 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | |||||||||||||||||
get top level history | |||||||||||||||||
|
class for pass fail in top level history line | ||||||||||||||||||||||||||
page | pass class | pass count | fail class | fail count | ||||||||||||||||||||||
OneFailPage | ignore | 0 | fail | 1 | ||||||||||||||||||||||
| ||||||||||||||||||||||||||
OnePassPage | pass | 1 | ignore | 0 | ||||||||||||||||||||||
| ||||||||||||||||||||||||||
OnePassOneFail | pass | 1 | fail | 1 | ||||||||||||||||||||||
| ||||||||||||||||||||||||||
OneError | ignore | 0 | fail | 1 | ||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.ScenarioLibrary (edit)
scenario | get history for page | page | |
check | request page | @page?pageHistory | 200 |
$TESTPAGE= | echo | @page | |
show | content |
scenario | get top level history | ||
check | request page | ?testHistory | 200 |
show | content |
scenario | the number of page histories should be | number | |||
check | count of tag | TR | with id prefix | pageHistoryRow | @number |
scenario | the page history bar for | date | should have | number | elements of class | class | |||||
$date= | page history date signature of | @date | |||||||||
check | count of tag | TD | with id | element | and with class | @class | below tag | TR | with id prefix | pageHistoryRow_$date | @number |
scenario | the page title should be | title |
ensure | content contains | <h1>@title</h1> |
scenario | the page title should be a link to | page | with value | value |
ensure | content contains | <h1><a href="/@page">@value</a></h1> |
scenario | the bread crumb | crumb | should be a link to | page |
ensure | content contains | <a href="/@page">@crumb</a> |
scenario | The page history bar for | date | should have a | id | with class | class | and value | value |
$date= | page history date signature of | @date | ||||||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="@id" class="@class">@value</td> | ||||
show | content of tag with id | pageHistoryRow_$date |
scenario | The page history bar for | date | should have a date field with class | class |
$date= | page history date signature of | @date | ||
ensure | content of tag with id | pageHistoryRow_$date | contains | <td id="date_field" class="@class"> |
scenario | the top level history line for | page | is a link to the page history |
ensure | content contains | <a href="/@page?pageHistory">@page</a> |
scenario | The page history line for | date | should be a link to result | resultDate |
ensure | content contains | <a href="$TESTPAGE?pageHistory&resultDate=@resultDate">@date</a> |
scenario | the top level history line for | page | should have a | class | link with | sign | to result | resultDate |
ensure | content contains | <td class="@class"><a href="@page?pageHistory&resultDate=@resultDate">@sign</a></td> |
scenario | the top level history line for | page | should not have a link to | resultDate |
reject | content contains | <a href="@page?pageHistory&resultDate=@resultDate"> |
scenario | class for pass fail in top level history line | page | pass class | pass count | fail class | fail count | ||||
ensure | html contains | <a href="/@page?pageHistory">@page</a></td> <td class="@passClass">@passCount</td> <td class="@failClass">@failCount</td> |
scenario | assume time is | time |
freeze clock at | @time |
scenario | with subpage | name | with content | content |
create page | $IT.@name | with content | @content |
scenario | run suite | name | |
check | request page | @name?suite | 200 |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteTestHistory.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
clock fixture |
page history | |||||
name | date | right | wrong | ignores | exceptions |
SuitePage.TestPage | 5-May-2009 | 20 | 30 | 0 | 0 |
__EXCEPTION__:java.io.IOException: No such file or directory |
script | ||||||||||||||||||
get top level history | ||||||||||||||||||
| ||||||||||||||||||
the page title should be | Test History | |||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||||||||||||||
given page | ParentPage | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
given page | ParentPage.ChildPage | with content | >SetUp | |||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
given page | ParentPage.ChildPage.SetUp | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
page | ParentPage.ChildPage | should have link to | ParentPage.ChildPage.SetUp | |||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
given page | ParentPage.ChildPage | with content | !include <ParentPage | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Cannot include parent page | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
widget should render | |||||||||||||||||||||||||||||||||
wiki text | html text | ||||||||||||||||||||||||||||||||
normal text | normal text | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
this is ''italic'' text | this is <i>italic</i> text | italic widget | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
this is '''bold''' text | this is <b>bold</b> text | bold widget | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!c This is centered text | <center>This is centered text</center> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!1 header | <h1>header</h1> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!2 header | <h2>header</h2> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!3 header | <h3>header</h3> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!4 header | <h4>header</h4> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!5 header | <h5>header</h5> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!6 header | <h6>header</h6> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
http://files/x | <a href="/files/x">http://files/x</a> | file link | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
http://fitnesse.org | <a href="http://fitnesse.org">http://fitnesse.org</a> | http link | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
SomePage | SomePage<a title="create page" href="SomePage\?edit&nonExistent=true">\[\?\]</a> | missing wiki word | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
[[tag][WidgetPage]] | <a href="WidgetPage">tag</a> | link alias | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
[[tag][http://fitnesse.org]] | <a href="http://fitnesse\.org">tag</a> | http link alias | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
[[tag][http://files/x]] | <a href="/files/x">tag</a> | files alias | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!-This is literal text-! | This is literal text | simple literal | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!-This is ''literal'' text -! | This is ''literal'' text | literal text with markup | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
This is normal, ''italic'', and '''bold''' text | This is normal, <i>italic</i>, and <b>bold</b> text | Mixed Italic and Bold | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!note hello | <p class="note">hello</p> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{{{prefomatted text}}} | <pre>prefomatted text</pre> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
''x'' | <i>x</i> | ''David Hookers bug. Single character italics didn't parse correctly.'' | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
--strike-- | <strike>strike</strike> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!style_myStyle(hello) | <span class="myStyle">hello</span> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!style_myStyle[hello] | <span class="myStyle">hello</span> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
!style_myStyle{hello} | <span class="myStyle">hello</span> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
WikiWord | WikiWord<a title="create page" href="WikiWord\?edit&nonExistent=true">\[\?\]</a> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
MdM | MdM<a title="create page" href="MdM\?edit&nonExistent=true">\[\?\]</a> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
AbCdEfGhIjKlMnOpQrTuVxYz | AbCdEfGhIjKlMnOpQrTuVxYz<a title="create page" href="AbCdEfGhIjKlMnOpQrTuVxYz\?edit&nonExistent=true">\[\?\]</a> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
TheNumber1 | TheNumber1<a title="create page" href="TheNumber1\?edit&nonExistent=true">\[\?\]</a> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
ParenT.ChilD | ParenT.ChilD<a title="create page" href="ParenT.ChilD\?edit&nonExistent=true">\[\?\]</a> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
^SubPage | \^SubPage<a title="create page" href="WidgetPage.SubPage\?edit&nonExistent=true">\[\?\]</a> | DEPRECATED | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
>SubPage | >SubPage<a title="create page" href="WidgetPage.SubPage\?edit&nonExistent=true">\[\?\]</a> | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
This is an@email.com text | This is <a href="mailto:an@email.com">an@email.com</a> text | email widget | |||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||||||||||||||||||||||||
given page | PageOne.PageTwo.AnotherPage | |||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
given page | PageOne.PageTwo.PageThree.PageFour | with content | <PageTwo.AnotherPage | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
it should have link to | PageOne.PageTwo.AnotherPage | |||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
given page | PageOne.PageTwo | with content | <NoSuchPage | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
it should have creating link to | NoSuchPage | |||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
given page | PageOne.PageX | with content | <PageOne.NoSuchPage | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
it should have creating link to | PageOne.NoSuchPage | |||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||||||||||||||||||||||
given page | ReferencePage | with content | SomePage | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
it should have creating link to | SomePage | ||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||||||||||||||||||||||||||||
given page | ClasspathTestPage | with content | !define BASE_PATH {/some/path/}<br>!path ${BASE_PATH}blah.jar | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | classpath: /some/path/blah.jar | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||||||||||||||||||||
given page | ClasspathTestPage | with content | !define PI {3.141592}<br>!path classes<br>!path fitnesse-standalone.jar<br>|fitnesse.testutil.PassFixture|<br> | |||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
its test results should contain | PassFixture | |||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
and should not contain | Exception | |||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
TOP !*** section title content more content ****************! BOTTOM
TOP !**> section title content more content ****************! BOTTOM
TOP !**< section title content more content ****************! BOTTOM
Scenarios
scenario | given a page with a collapsible section containing | text | |
given page | PageWithCollapsibleSection | with content | !** My Section @text ****! |
scenario | given a page with a collapsed section containing | text | |
given page | PageWithCollapsibleSection | with content | !*> My Section @text ****! |
scenario | given a page with an invisible section containing | text | |
given page | PageWithCollapsibleSection | with content | !*< My Section @text ****! |
scenario | the content | text | should be in a div |
it should match | <div>@text(<br/>)?</div> |
scenario | it should have | text | within a | class | div |
the content | @text | should be in a div | |||
and it should have a collapsible div |
scenario | and it should have a collapsible div |
and should contain | div class="collapsible |
and should contain | p class="title">My Section |
script | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given a page with a collapsible section containing | line one<br/>line two | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
it should have | line one<br/>line two | within a | collapsible | div | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given a page with a collapsed section containing | line one<br/>line two | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
it should have | line one<br/>line two | within a | invisible | div | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
given a page with an invisible section containing | line one<br/>line two | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
the content | line one<br/>line two | should be in a div | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||||||||||||||||||||||||||||
given page | CommentTextPage | with content | one<br/>#two<br/>three | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | one<br/>three | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
and should not contain | two | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||||||||||||||||||||||||||||||||||||||||
given page | ParentPage | with content | !contents | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
given page | ParentPage.FirstChild | |||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
given page | ParentPage.SecondChild | |||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
page | ParentPage | should have link to | ParentPage.FirstChild | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
and it should have link to | ParentPage.SecondChild | |||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Example: !contents -R2 -g -p -f -h Options -R ...include all of the descendent pages; -Rn ...include n levels of descendent pages; -f ...show suite filters--define FILTER_TOC {true} for global; -g ...show graceful names in the list--define REGRACE_TOC {true} for global; -h ...show help property text--define HELP_TOC {true} for global; -p ...show property suffixes--define PROPERTY_TOC {true} for global; defaults: Suite(*), Test(+), Imported(@), Symbolic(>), Skip(-) define PROPERTY_CHARACTERS {*+@>-} to change.
script | |
start | Page Builder |
line | I'm the parent |
line | !contents -f |
page | ParentPage |
script | |
start | Page Builder |
line | I came first! |
attributes | Suite=true,Test=true,Suites=FC1 |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | WikiImport=true,Prune=true,Suites=FC2 |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">FirstChild \(FC1\)</a> | [false] expected [true] |
contents | a href="ParentPage.SecondChild">SecondChild \(FC2\)</a> | [false] expected [true] |
script | |
start | Page Builder |
line | I'm also the parent |
line | !define FILTER_TOC {true} |
line | !contents |
line | !define FILTER_TOC {false} |
page | ParentPage |
script | |
start | Page Builder |
line | I came first! |
attributes | Suite=true,Test=true,Suites=FC1 |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | WikiImport=true,Prune=true,Suites=FC2 |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">FirstChild \(FC1\)</a | [false] expected [true] |
contents | a href="ParentPage.SecondChild">SecondChild \(FC2\)</a | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Example: !contents -R2 -g -p -f -h Options -R ...include all of the descendent pages; -Rn ...include n levels of descendent pages; -f ...show suite filters--define FILTER_TOC {true} for global; -g ...show graceful names in the list--define REGRACE_TOC {true} for global; -h ...show help property text--define HELP_TOC {true} for global; -p ...show property suffixes--define PROPERTY_TOC {true} for global; defaults: Suite(*), Test(+), Imported(@), Symbolic(>), Skip(-) define PROPERTY_CHARACTERS {*+@>-} to change.
script | |
start | Page Builder |
line | I'm the parent |
line | !contents |
page | ParentPage |
Included page: ContentsTestsIncludeWithHelp (edit)
script | |
start | Page Builder |
line | I came first! |
attributes | Help=First Child's help |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | Help=Second Child's help |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild" title="First Child's help">FirstChild</a | [false] expected [true] |
contents | a href="ParentPage.SecondChild" title="Second Child's help">SecondChild</a | [false] expected [true] |
script | |
start | Page Builder |
line | I'm also the parent |
line | !contents -h |
page | ParentPage |
Included page: ContentsTestsIncludeWithHelp (edit)
script | |
start | Page Builder |
line | I came first! |
attributes | Help=First Child's help |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | Help=Second Child's help |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">FirstChild</a | [false] expected [true] |
contents | span class="pageHelp">: First Child's help</span | [false] expected [true] |
contents | a href="ParentPage.SecondChild">SecondChild</a | [false] expected [true] |
contents | span class="pageHelp">: Second Child's help</span | [false] expected [true] |
script | |
start | Page Builder |
line | I'm also the parent |
line | !define HELP_TOC {true} |
line | !contents |
line | !define HELP_TOC {false} |
page | ParentPage |
Included page: ContentsTestsIncludeWithHelp (edit)
script | |
start | Page Builder |
line | I came first! |
attributes | Help=First Child's help |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | Help=Second Child's help |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">FirstChild</a | [false] expected [true] |
contents | span class="pageHelp">: First Child's help</span | [false] expected [true] |
contents | a href="ParentPage.SecondChild">SecondChild</a | [false] expected [true] |
contents | span class="pageHelp">: Second Child's help</span | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Example: !contents -R2 -g -p -f -h Options -R ...include all of the descendent pages; -Rn ...include n levels of descendent pages; -f ...show suite filters--define FILTER_TOC {true} for global; -g ...show graceful names in the list--define REGRACE_TOC {true} for global; -h ...show help property text--define HELP_TOC {true} for global; -p ...show property suffixes--define PROPERTY_TOC {true} for global; defaults: Suite(*), Test(+), Imported(@), Symbolic(>), Skip(-) define PROPERTY_CHARACTERS {*+@>-} to change.
Script | |
start | Page Builder |
line | I'm the parent |
line | !contents -p |
page | ParentPage |
Included page: ContentsTestsInclude (edit)
script | |
start | Page Builder |
line | I came first! |
attributes | Suite=true,Test=true,Suites=FC1 |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | WikiImport=true,Prune=true,Suites=FC2 |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">FirstChild \*\+</a | [false] expected [true] |
contents | a href="ParentPage.SecondChild">SecondChild @-</a | [false] expected [true] |
script | |
start | Page Builder |
line | I'm also the parent |
line | !define PROPERTY_TOC {true} |
line | !contents |
line | !define PROPERTY_TOC {false} |
page | ParentPage |
Included page: ContentsTestsInclude (edit)
script | |
start | Page Builder |
line | I came first! |
attributes | Suite=true,Test=true,Suites=FC1 |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | WikiImport=true,Prune=true,Suites=FC2 |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">FirstChild \*\+</a | [false] expected [true] |
contents | a href="ParentPage.SecondChild">SecondChild @-</a | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Example: !contents -R2 -g -p -f -h Options -R ...include all of the descendent pages; -Rn ...include n levels of descendent pages; -f ...show suite filters--define FILTER_TOC {true} for global; -g ...show graceful names in the list--define REGRACE_TOC {true} for global; -h ...show help property text--define HELP_TOC {true} for global; -p ...show property suffixes--define PROPERTY_TOC {true} for global; defaults: Suite(*), Test(+), Imported(@), Symbolic(>), Skip(-) define PROPERTY_CHARACTERS {*+@>-} to change.
script | |
start | Page Builder |
line | I'm the parent |
line | !contents -g |
page | ParentPage |
script | |
start | Page Builder |
line | I came first! |
attributes | Suite=true,Test=true,Suites=FC1 |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | WikiImport=true,Prune=true,Suites=FC2 |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">First Child</a | [false] expected [true] |
contents | a href="ParentPage.SecondChild">Second Child</a | [false] expected [true] |
script | |
start | Page Builder |
line | I'm also the parent |
line | !define REGRACE_TOC {true} |
line | !contents |
line | !define REGRACE_TOC {false} |
page | ParentPage |
script | |
start | Page Builder |
line | I came first! |
attributes | Suite=true,Test=true,Suites=FC1 |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | WikiImport=true,Prune=true,Suites=FC2 |
page | ParentPage.SecondChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">First Child</a | [false] expected [true] |
contents | a href="ParentPage.SecondChild">Second Child</a | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Example: !contents -R2 -g -p -f -h Options -R ...include all of the descendent pages; -Rn ...include n levels of descendent pages; -f ...show suite filters--define FILTER_TOC {true} for global; -g ...show graceful names in the list--define REGRACE_TOC {true} for global; -h ...show help property text--define HELP_TOC {true} for global; -p ...show property suffixes--define PROPERTY_TOC {true} for global; defaults: Suite(*), Test(+), Imported(@), Symbolic(>), Skip(-) define PROPERTY_CHARACTERS {*+@>-} to change.
script | |
start | Page Builder |
line | I'm the parent |
line | !contents -R |
page | ParentPage |
script | |
start | Page Builder |
line | I came first! |
attributes | Suite=true,Test=true,Suites=FC1 |
page | ParentPage.FirstChild |
script | |
start | Page Builder |
line | I'm younger, but wiser |
attributes | WikiImport=true,Prune=true,Suites=FC2 |
page | ParentPage.SecondChild |
script | |
start | Page Builder |
line | You're too young to be grandparents |
page | ParentPage.FirstChild.GrandChild |
Response Requester. | ||
uri | valid? | contents? |
ParentPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | a href="ParentPage.FirstChild">FirstChild</a | [false] expected [true] |
contents | a href="ParentPage.FirstChild.GrandChild">GrandChild</a | [false] expected [true] |
contents | a href="ParentPage.SecondChild">SecondChild</a | [false] expected [true] |
Response Examiner. | ||
type | pattern | matches? |
contents | div class="toc1" | [false] expected [true] |
contents | div class="toc2" | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page Creator | |||
page name | page contents | page attributes | valid? |
EmailPage | This is an@email.com text | true |
Response Requester | |
uri | valid? |
EmailPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner | |||
type | pattern | matches? | value |
contents | This is <a href="mailto:an@email.com">an@email.com</a> text | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
${= [format:] expression =}
%[flags][width][.precision]conversion*!note N.B., The [argument_index$] specifier is not permitted.
${= 12 + 23 =} renders (sand brackets) as [35] ${=%5.4f:1.414=} : [1.4140] ${=%05X:14+14=} : [0001C] ${= %-10s : 123 =} : [123 ]
Comment | Spaces between items are optional |
|
Operator | Argument | Description |
constant or variable | Examples: 3, 12.4, 4E+8, ${VALUE}, ${some.var} | |
Any valid combination of arguments and optional operations and parentheses | ||
Addition | ||
Unary negation | ||
Subtraction | ||
Multiplication | ||
Division | ||
Exponentiation | ||
Radian Sine of expr | ||
Radian Cosine of expr | ||
Radian Tangent of expr | ||
Parenthetical grouping of an expression |
script | |
start | Page Builder |
line | ~1a:${==}~ |
line | ~1b:${= =}~ |
line | ~1c:${= =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~1a:~<br/>~1b:~<br/>~1c:~<br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~1a:~ | [false] expected [true] |
contents | ~1b:~ | [false] expected [true] |
contents | ~1c:~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~2a:${=3=}~ |
line | ~2b:${= 4.2 =}~ |
line | ~2c:${= 2E+1 =}~ |
line | ~2d:${= 2.3E+42 =}~ |
line | ~2e:${= 4.2E + 24 =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~2a:3~ <br/> ~2b:4.2~ <br/> ~2c:20~ <br/> ~2d:2.3E42~ <br/> ~2e:4.2E24~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~2a:3~ | [false] expected [true] |
contents | ~2b:4.2~ | [false] expected [true] |
contents | ~2c:20~ | [false] expected [true] |
contents | ~2d:2.3E+42~ | [false] expected [true] |
contents | ~2e:4.2E+24~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~3a:${=1+1=}~ |
line | ~3b:${=2 + 2=}~ |
line | ~3c:${= 3 + 3=}~ |
line | ~3d:${=4 + 4 =}~ |
line | ~3e:${=5 +5 =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~3a:2~ <br/> ~3b:4~ <br/> ~3c:6~ <br/> ~3d:8~ <br/> ~3e:10~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~3a:2~ | [false] expected [true] |
contents | ~3b:4~ | [false] expected [true] |
contents | ~3c:6~ | [false] expected [true] |
contents | ~3d:8~ | [false] expected [true] |
contents | ~3e:10~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~4plus:${= 1 + 2 =}~ |
line | ~4minus:${= 2 - 3 =}~ |
line | ~4unary:${= -12 =}~ |
line | ~4mult:${= 3 * 4 =}~ |
line | ~4div:${= 4 / 5 =}~ |
line | ~4exp:${=%2d: 5 ^ 6 =}~ |
line | ~4sin1:${=%5.4f: sin0.39269875 =}~ |
line | ~4sin2:${=%5.4f: sin 0.39269875 =}~ |
line | ~4sin3:${=%5.4f: sin(0.39269875) =}~ |
line | ~4sin4:${=%5.4f: sin(3.14159/8) =}~ |
line | ~4sin5:${=%5.4f: sin (3.14159/8) =}~ |
line | ~4cos:${=%5.4f: cos(3.14159 / 8) =}~ |
line | ~4tan:${=%5.4f: tan(3.14159 / 8) =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~4plus:3~ <br/> ~4minus:-1~ <br/> ~4unary:-12~ <br/> ~4mult:12~ <br/> ~4div:0.8~ <br/> ~4exp:15625~ <br/> ~4sin1:0.3827~ <br/> ~4sin2:0.3827~ <br/> ~4sin3:0.3827~ <br/> ~4sin4:0.3827~ <br/> ~4sin5:0.3827~ <br/> ~4cos:0.9239~ <br/> ~4tan:0.4142~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~4plus:3~ | [false] expected [true] |
contents | ~4minus:-1~ | [false] expected [true] |
contents | ~4unary:-12~ | [false] expected [true] |
contents | ~4mult:12~ | [false] expected [true] |
contents | ~4div:0.8~ | [false] expected [true] |
contents | ~4exp:15625~ | [false] expected [true] |
contents | ~4sin1:0.3827~ | [false] expected [true] |
contents | ~4sin2:0.3827~ | [false] expected [true] |
contents | ~4sin3:0.3827~ | [false] expected [true] |
contents | ~4sin4:0.3827~ | [false] expected [true] |
contents | ~4sin5:0.3827~ | [false] expected [true] |
contents | ~4cos:0.9239~ | [false] expected [true] |
contents | ~4tan:0.4142~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~5a:${= 2 * 3 + 4 / 2 - 3 =}~ |
line | ~5b:${= 2 * ( 3 + 4 ) / 2 - 3 =}~ |
line | ~5c:${= 2 * ( 3 + 4 ) / ( 2 - 3 ) =}~ |
line | ~5d:${= 2 * ( 3 + ( 4 / ( 2 - 3 ) ) ) =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~5a:5~ <br/> ~5b:4~ <br/> ~5c:-14~ <br/> ~5d:-2~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~5a:5~ | [false] expected [true] |
contents | ~5b:4~ | [false] expected [true] |
contents | ~5c:-14~ | [false] expected [true] |
contents | ~5d:-2~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~6a:${=%d:2 =}~ |
line | ~6b:${= %d : 3.2 =}~ |
line | ~6c:${=%02d: 2 + 1 =}~ |
line | ~6d:${= %4.4f: 2.2 / 3.4 =}~ |
line | ~6e:${=%03o: 16 =}~ |
line | ~6f:${= %03o : 18 =}~ |
line | ~6g:${=%03x: 26 =}~ |
line | ~6h:${=%03X: 27 =}~ |
line | ~6i:${= %-12s : 123 =}~ |
line | ~6j:${=%TY: 73422123127 =}~ |
line | ~6k:${=%b: 27 =}~ |
line | ~6l:${=%b: 0 =}~ |
line | ~6m:${=%B: 27 =}~ |
line | ~6n:${=%B: 0 =}~ |
line | ~6o:${= % d : 3.2 =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~6a:2~ <br/> ~6b:3~ <br/> ~6c:03~ <br/> ~6d:0.6471~ <br/> ~6e:020~ <br/> ~6f:022~ <br/> ~6g:01a~ <br/> ~6h:01B~ <br/> ~6i:123 ~ <br/> ~6j:1972~ <br/> ~6k:true~ <br/> ~6l:false~ <br/> ~6m:true~ <br/> ~6n:false~ <br/> ~6o: 3~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~6a:2~ | [false] expected [true] |
contents | ~6b:3~ | [false] expected [true] |
contents | ~6c:03~ | [false] expected [true] |
contents | ~6d:0.6471~ | [false] expected [true] |
contents | ~6e:020~ | [false] expected [true] |
contents | ~6f:022~ | [false] expected [true] |
contents | ~6g:01a~ | [false] expected [true] |
contents | ~6h:01B~ | [false] expected [true] |
contents | ~6i:123 ~ | [false] expected [true] |
contents | ~6j:1972~ | [false] expected [true] |
contents | ~6k:true~ | [false] expected [true] |
contents | ~6l:false~ | [false] expected [true] |
contents | ~6m:true~ | [false] expected [true] |
contents | ~6n:false~ | [false] expected [true] |
contents | ~6o: 3~ | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page creator. | ||
Page name. | Page contents. | valid? |
SomePage | some page | true |
RelativeReferencePage | SomePage | true |
Response Requester. | |
uri | valid? |
RelativeReferencePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SomePage">SomePage</a> | [false] expected [true] |
Page creator. | ||
Page name. | Page contents. | valid? |
GlobalReferencePage | .SomePage | true |
Response Requester. | |
uri | valid? |
GlobalReferencePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SomePage">.SomePage</a> | [false] expected [true] |
Page creator. | ||
Page name. | Page contents. | valid? |
SomePage.SubPage | sub page | true |
SomePage.RelativeReference | SubPage | true |
Response Requester. | |
uri | valid? |
SomePage.RelativeReference | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SomePage.SubPage">SubPage</a> | [false] expected [true] |
Page creator. | ||
Page name. | Page contents. | valid? |
SomePage.GlobalReference | .SomePage.SubPage | true |
Response Requester. | |
uri | valid? |
SomePage.GlobalReference | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SomePage.SubPage">.SomePage.SubPage</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
${= expression =}
Comment | Spaces between items are optional |
|
Operator | Argument | Description |
constant or variable | Examples: 3 12.4 4E+8 ${VALUE} ${some.var} | |
Any valid combination of arguments and optional operations and parentheses | ||
Addition | ||
Unary negation | ||
Subtraction | ||
Multiplication | ||
Division | ||
Exponentiation | ||
Radian Sine of expr | ||
Radian Cosine of expr | ||
Radian Tangent of expr | ||
Parenthetical grouping of an expression |
script | |
start | Page Builder |
line | ~1a:${==}~ |
line | ~1b:${= =}~ |
line | ~1c:${= =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~1a:~ <br/> ~1b:~ <br/> ~1c:~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~1a:~ | [false] expected [true] |
contents | ~1b:~ | [false] expected [true] |
contents | ~1c:~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~2a:${=3=}~ |
line | ~2b:${= 4.2 =}~ |
line | ~2c:${= 2E+1 =}~ |
line | ~2d:${= 2.3E+42 =}~ |
line | ~2e:${= 4.2E + 24 =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~2a:3~ <br/> ~2b:4.2~ <br/> ~2c:20~ <br/> ~2d:2.3E42~ <br/> ~2e:4.2E24~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~2a:3~ | [false] expected [true] |
contents | ~2b:4.2~ | [false] expected [true] |
contents | ~2c:20~ | [false] expected [true] |
contents | ~2d:2.3E+42~ | [false] expected [true] |
contents | ~2e:4.2E+24~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~3a:${=1+1=}~ |
line | ~3b:${=2 + 2=}~ |
line | ~3c:${= 3 + 3=}~ |
line | ~3d:${=4 + 4 =}~ |
line | ~3e:${=5 +5 =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~3a:2~ <br/> ~3b:4~ <br/> ~3c:6~ <br/> ~3d:8~ <br/> ~3e:10~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~3a:2~ | [false] expected [true] |
contents | ~3b:4~ | [false] expected [true] |
contents | ~3c:6~ | [false] expected [true] |
contents | ~3d:8~ | [false] expected [true] |
contents | ~3e:10~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~4plus:${= 1 + 2 =}~ |
line | ~4minus:${= 2 - 3 =}~ |
line | ~4unary:${= -12 =}~ |
line | ~4mult:${= 3 * 4 =}~ |
line | ~4div:${= 4 / 5 =}~ |
line | ~4exp:${=%2d: 5 ^ 6 =}~ |
line | ~4sin1:${=%5.4f: sin0.39269875 =}~ |
line | ~4sin2:${=%5.4f: sin 0.39269875 =}~ |
line | ~4sin3:${=%5.4f: sin(0.39269875) =}~ |
line | ~4sin4:${=%5.4f: sin(3.14159/8) =}~ |
line | ~4sin5:${=%5.4f: sin (3.14159/8) =}~ |
line | ~4cos:${=%5.4f: cos(3.14159 / 8) =}~ |
line | ~4tan:${=%5.4f: tan(3.14159 / 8) =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~4plus:3~ <br/> ~4minus:-1~ <br/> ~4unary:-12~ <br/> ~4mult:12~ <br/> ~4div:0.8~ <br/> ~4exp:15625~ <br/> ~4sin1:0.3827~ <br/> ~4sin2:0.3827~ <br/> ~4sin3:0.3827~ <br/> ~4sin4:0.3827~ <br/> ~4sin5:0.3827~ <br/> ~4cos:0.9239~ <br/> ~4tan:0.4142~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~4plus:3~ | [false] expected [true] |
contents | ~4minus:-1~ | [false] expected [true] |
contents | ~4unary:-12~ | [false] expected [true] |
contents | ~4mult:12~ | [false] expected [true] |
contents | ~4div:0.8~ | [false] expected [true] |
contents | ~4exp:15625~ | [false] expected [true] |
contents | ~4sin1:0.3827~ | [false] expected [true] |
contents | ~4sin2:0.3827~ | [false] expected [true] |
contents | ~4sin3:0.3827~ | [false] expected [true] |
contents | ~4sin4:0.3827~ | [false] expected [true] |
contents | ~4sin5:0.3827~ | [false] expected [true] |
contents | ~4cos:0.9239~ | [false] expected [true] |
contents | ~4tan:0.4142~ | [false] expected [true] |
script | |
start | Page Builder |
line | ~5a:${= 2 * 3 + 4 / 2 - 3 =}~ |
line | ~5b:${= 2 * ( 3 + 4 ) / 2 - 3 =}~ |
line | ~5c:${= 2 * ( 3 + 4 ) / ( 2 - 3 ) =}~ |
line | ~5d:${= 2 * ( 3 + ( 4 / ( 2 - 3 ) ) ) =}~ |
page | ExpressionPage |
Response Requester | |
uri | valid? |
ExpressionPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Contents
Response Examiner | |
type | string? |
contents | ~5a:5~ <br/> ~5b:4~ <br/> ~5c:-14~ <br/> ~5d:-2~ <br/> |
Response Examiner | |
type | wrapped html? |
contents | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | ~5a:5~ | [false] expected [true] |
contents | ~5b:4~ | [false] expected [true] |
contents | ~5c:-14~ | [false] expected [true] |
contents | ~5d:-2~ | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
We are in the process of deprecating the ^ widget and replacing it with >. This test proves that the > widget works.
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage | >SubPage | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | >SubPage<a title="create page" href="SuperPage.SubPage\?edit&nonExistent=true">\[\?\]</a> | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage.SubPage | nothing | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SuperPage.SubPage">>SubPage</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
we are deprecating the ^ syntax in favor of the > syntax.
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage | [[tag][>SubPage]] | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | tag<a title="create page" href="SuperPage.SubPage\?edit&nonExistent=true">\[\?\]</a> | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage.SubPage | nothing | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SuperPage.SubPage">tag</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||||||||||||||||||||||||||||
given page | HashPage | with content | !{a:b} | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should match | .table class="hash_table" | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should match | tr class="hash_row" | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should match | td class="hash_key" | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should match | td class="hash_value" | ||||||||||||||||||||||||||||||||||||||||
|
Response Examiner |
wrapped html? |
<pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
script | |||||||||||||||||||||||||||||||||||||||||
given page | HashPageTwo | with content | !{a:b,c:d} | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should match | .tr class="hash_row">.*td class="hash_key">.*a.*/td>.*td class="hash_value">.*b.*/td>.*/tr> | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should match | .tr class="hash_row">.*td class="hash_key">.*c.*/td>.*td class="hash_value">.*d.*/td>.*/tr> | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
HelpTestPage | some content !help | Help= Sample help string | true |
HelpTestPage2 | some content !help -editable | true |
Response Requester. | |
uri | valid? |
HelpTestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | Sample help string | [false] expected [true] | |
contents | (edit help text) | false |
Response Requester. | |
uri | valid? |
HelpTestPage2 | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | (edit help text) | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | ||
start | Page Builder | |
line | !define HOST {localhost:8081} | |
line | http://${HOST}/page | |
page | HttpLinkPage |
Response Requester. | |
uri | valid? |
HttpLinkPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="http://localhost:8081/page">http://localhost:8081/page</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
NormalTextPage | This is normal text | true |
Response Requester. | |
uri | valid? |
NormalTextPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
status | 200 | true | |
headers | Cache-Control: max-age=0 | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | !img name |
line | !img-l name |
line | !img-r name |
line | !img -w 512 name |
line | Image should be inline !img name with the text |
line | !img-l -w 200 name |
line | !img-r -w 150 name |
line | !img -m 5 -b 1 name |
line | !img-r -w 640 -m 10 -b 2 url |
page | ImagePage |
Response Requester. | ||
uri | valid? | contents? |
ImagePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | a | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | number | string? |
line | 1 | <img src="name"/> |
line | 2 | <img src="name" class="left"/> |
line | 3 | <img src="name" class="right"/> |
line | 4 | <img src="name" width="512"/> |
line | 5 | Image should be inline <img src="name"/> with the text |
line | 6 | <img src="name" class="left" width="200"/> |
line | 7 | <img src="name" class="right" width="150"/> |
line | 8 | <img src="name" style="border:1px solid black;margin:5px 5px 5px 5px;"/> |
line | 9 | <img src="url" class="right" width="640" style="border:2px solid black;margin:10px 10px 10px 10px;"/> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | included |
page | IncludedPage |
script | |
start | Page Builder |
line | before |
line | !include IncludedPage |
line | after |
page | IncludingPage |
Response Requester. | ||
uri | valid? | contents? |
IncludingPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | included | [false] expected [true] |
Response Examiner. | |
line | occurs after? |
before | [false] expected [true] |
included | [false] expected [true] |
after | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | this subpage was included 3.14159 |
page | ParentPage.MiddlePage.IncludedPage |
script | |
start | Page Builder |
line | before |
line | &bang;include <MiddlePage.IncludedPage> |
line | after |
page | ParentPage.MiddlePage.MiddlePageTwo.IncludingPage |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.MiddlePage.MiddlePageTwo.IncludingPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | this subpage was included 3.14159 | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | included |
page | IncludedPage |
script | |
start | Page Builder |
line | before |
line | &bang;include -c IncludedPage |
line | after |
page | IncludingPage |
Response Requester. | ||
uri | valid? | contents? |
IncludingPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | included | [false] expected [true] |
contents | class="collapsible closed" | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | included |
page | IncludedPage |
script | |
start | Page Builder |
line | before |
line | &bang;include IncludedPage |
line | after |
page | IncludingPage |
Response Requester. | ||
uri | valid? | contents? |
IncludingPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | class="collapsible" | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | included line 1 |
line | included line 2 |
page | IncludedPage |
script | |
start | Page Builder |
line | before |
line | &bang;include -seamless IncludedPage |
line | after |
page | IncludingPage |
Response Requester. | ||
uri | valid? | contents? |
IncludingPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | included | [false] expected [true] |
Response Examiner. | ||
type | number | string? |
line | 1 | before |
line | 2 | included line 1 |
line | 3 | included line 2 |
line | 4 | after |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||||||||||||||||||||||||||||
create page | SetUp | with content | Set Up page name is ${PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
create page | TearDown | with content | Tear Down page name is ${PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
create page | IncludedPage | with content | Included page name is ${PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
given page | IncludingPage | with content | !include -setup SetUp<br/>!include IncludedPage<br/>Including page name is ${PAGE_NAME}<br/>!include -teardown TearDown | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Included page name is <a href="IncludedPage">IncludedPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Including page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Set Up page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Tear Down page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | this subpage was included 3.14159 |
page | IncludingPage.IncludedPage |
script | |
start | Page Builder |
line | before |
line | &bang;include >IncludedPage |
line | after |
page | IncludingPage |
Response Requester. | ||
uri | valid? | contents? |
IncludingPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | this subpage was included 3.14159 | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | one |
line | |
line | two |
page | LineBreakPage |
Response Requester. | ||
uri | valid? | contents? |
LineBreakPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | one.*<br/>.*<br/>.*two.*<br/>.* | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SomePage.TargetPage | target page | true | |
SomePage.LinkPage | [[tag][TargetPage]] | true |
Response Requester. | |
uri | valid? |
SomePage.LinkPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SomePage.TargetPage">tag</a> | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SomePage.GlobalLinkPage | [[tag][.SomePage.TargetPage]] | true |
Response Requester. | |
uri | valid? |
SomePage.GlobalLinkPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SomePage.TargetPage">tag</a> | [false] expected [true] |
script | |
start | Page Builder |
line | !define HOST {localhost:8080} |
line | [[tag][http://${HOST}/page]] works fine. |
page | HttpLinkPage |
Response Requester. | |
uri | valid? |
HttpLinkPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="http://localhost:8080/page">tag</a> works fine. | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SomePage.ParentPage | !define HOST {localhost:8080} | true | |
SomePage.ParentPage.ChildPage | [[tag][http://${HOST}/page]] works fine. | true |
Response Requester. | |
uri | valid? |
SomePage.ParentPage.ChildPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="http://localhost:8080/page">tag</a> works fine. | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
PageLink2 | contents | true | |
PageLink4 | contents | true | |
PageLink10 | contents | true |
script | |
start | Page Builder |
line | !define X {5} |
line | !define Y (4) |
line | !define EXPR (${=3+2-1=}) |
line | [[tag][PageLink${= 3 - 2 + 1 =}]] works fine. |
line | [[tag][PageLink${EXPR}]] works too. |
line | [[tag][PageLink${=${X}+${Y}+1=}]] works as well. |
page | HttpExprPage |
Response Requester. | ||
uri | valid? | contents? |
HttpExprPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href="PageLink2">tag</a> works fine. | [false] expected [true] |
contents | <a href="PageLink4">tag</a> works too. | [false] expected [true] |
contents | <a href="PageLink10">tag</a> works as well. | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
QueryPageRoot | !anchor QPLabel | true | |
QueryPageRoot.TopPage | !anchor QPTopLabel | true |
script | |
start | Page Builder |
line | [[tag1 ][TopPage?edit]] has query. |
line | [[tag2 ][TopPage?edit#QPTopLabel]] has query and frag. |
line | [[tag3 ][TopPage#QPTopLabel]] has fragment. |
line | [[tag4 ][<QueryPageRoot.TopPage?edit]] back has query.> |
line | [[tag5 ][.QueryPageRoot.TopPage?edit]] root has query. |
line | [[tag6 ][<QueryPageRoot.TopPage?edit#QPTopLabel]] back has query and frag.> |
line | [[tag7 ][<QueryPageRoot.TopPage#QPTopLabel]] back has fragment.> |
line | [[tag8 ][>ChildFrag?edit]] child has query. |
line | [[tag9 ][>ChildFrag?edit#QPTopLabel]] child has query and frag. |
line | [[tag10][>ChildFrag#QPTopLabel]] child has fragment. |
page | QueryPageRoot.QueryFragmentLinks |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
QueryPageRoot.QueryFragmentLinks.ChildFrag | !anchor QPChild | true |
Response Requester. | ||
uri | valid? | contents? |
QueryPageRoot.QueryFragmentLinks | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <a href="QueryPageRoot\.TopPage\?edit">tag1 </a> has query. | [false] expected [true] |
contents | <a href="QueryPageRoot\.TopPage\?edit#QPTopLabel">tag2 </a> has query and frag. | [false] expected [true] |
contents | <a href="QueryPageRoot\.TopPage#QPTopLabel">tag3 </a> has fragment. | [false] expected [true] |
contents | <a href="QueryPageRoot\.TopPage\?edit">tag4 </a> back has query. | [false] expected [true] |
contents | <a href="QueryPageRoot\.TopPage\?edit">tag5 </a> root has query. | [false] expected [true] |
contents | <a href="QueryPageRoot\.TopPage\?edit#QPTopLabel">tag6 </a> back has query and frag. | [false] expected [true] |
contents | <a href="QueryPageRoot\.TopPage#QPTopLabel">tag7 </a> back has fragment. | [false] expected [true] |
contents | <a href="QueryPageRoot\.QueryFragmentLinks\.ChildFrag\?edit">tag8 </a> child has query. | [false] expected [true] |
contents | <a href="QueryPageRoot\.QueryFragmentLinks\.ChildFrag\?edit#QPTopLabel">tag9 </a> child has query and frag. | [false] expected [true] |
contents | <a href="QueryPageRoot\.QueryFragmentLinks\.ChildFrag#QPTopLabel">tag10</a> child has fragment. | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
|a|b|c| |d|e|f|The resulting text will be rendered in a one line table of the form.
<table> <tr><td>a</td><td>b</td><td>c</td></tr> <tr><td>d</td><td>e</td><td>f</td></tr> </table>
script | |
start | Page Builder |
line | |a|b|c| |
line | |d|e|f| |
page | MultiLineTablePage |
Response Requester. | ||
uri | valid? | contents? |
MultiLineTablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | a | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | number | string? |
line | 1 | <table> |
line | 2 | <tr> |
line | 3 | <td>a</td> |
line | 4 | <td>b</td> |
line | 5 | <td>c</td> |
line | 6 | </tr> |
line | 7 | <tr> |
line | 8 | <td>d</td> |
line | 9 | <td>e</td> |
line | 10 | <td>f</td> |
line | 11 | </tr> |
line | 12 | </table> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
* 50 ways to leave your lovershould be rendered as a normal list with "50 ways to leave your lover" as the text of the list.
We use \ here as a way to capture the leading space before the *.
script | |
start | Page Builder |
line | \ * 50 ways to leave your lover. |
page | NormalListWithLeadingNumericPage |
Response Requester. | ||
uri | valid? | contents? |
NormalListWithLeadingNumericPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <li>50 ways to leave your lover.</li> | [false] expected [true] |
Response Examiner. | ||
type | number | string? |
line | 1 | <ul> |
line | 2 | <li>50 ways to leave your lover.</li> |
line | 3 | </ul> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
1 Item one 2 Item twoshould be rendered as a two item ordered list.
We use backslash is a way to capture the leading space before the *.
script | |
start | Page Builder |
line | \ 1 Item One |
line | \ 2 Item Two |
page | SimpleList |
Response Requester. | ||
uri | valid? | contents? |
SimpleList | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <li>Item One</li> | [false] expected [true] |
Response Examiner. | ||
type | number | string? |
line | 1 | <ol> |
line | 2 | <li>Item One</li> |
line | 3 | <li>Item Two</li> |
line | 4 | </ol> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | !define x {1} |
page | ParentPage |
script | |
start | Page Builder |
line | x is ${x} |
page | ParentPage.SubPage |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.SubPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | x is 1 | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
script | |
start | Page Builder |
line | !define x {2} |
line | x is ${x} |
page | ParentPage.SubPageTwo |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.SubPageTwo | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | x is 2 | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||||||||||||||||||||||||||||||||||||||||
create page | SetUp | with content | Set Up running page name is ${RUNNING_PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
create page | TearDown | with content | Tear Down running page name is ${RUNNING_PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
create page | IncludedPage | with content | Included Page running page name is ${RUNNING_PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
given page | IncludingPage | with content | !include -setup SetUp<br/>!include IncludedPage<br/>Including Page running page name is ${RUNNING_PAGE_NAME}<br/>!include -teardown TearDown | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Included Page running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Including Page running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Set Up running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Tear Down running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
|
script | |||||||||||||||||||||||||||||||||||||||||
create page | SetUp | with content | Set Up running page name is ${RUNNING_PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
create page | TearDown | with content | Tear Down running page name is ${RUNNING_PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
create page | SecondLevelIncludedPage | with content | Second Level Included Page running page name is ${RUNNING_PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
create page | IncludedPage | with content | !include SecondLevelIncludedPage<br/>First Level Included running page name is ${RUNNING_PAGE_NAME} | ||||||||||||||||||||||||||||||||||||||
given page | IncludingPage | with content | !include -setup SetUp<br/>!include IncludedPage<br/>Including Page running page name is ${RUNNING_PAGE_NAME}<br/>!include -teardown TearDown | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Set Up running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Tear Down running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Second Level Included Page running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | First Level Included running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
it should contain | Including Page running page name is <a href="IncludingPage">IncludingPage | ||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
* Item one * Item twoshould be rendered as a two item bullet list.
We use backslash is a way to capture the leading space before the *.
script | |
start | Page Builder |
line | \ * Item One |
line | \ * Item Two |
page | SimpleList |
Response Requester. | ||
uri | valid? | contents? |
SimpleList | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <li>Item One</li> | [false] expected [true] |
Response Examiner. | ||
type | number | string? |
line | 1 | <ul> |
line | 2 | <li>Item One</li> |
line | 3 | <li>Item Two</li> |
line | 4 | </ul> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
|a|b|c|The resulting text will be rendered in a one line table of the form.
<table> <tr><td>a</td><td>b</td><td>c</td></tr> </table>
script | |
start | Page Builder |
line | |a|b|c| |
page | SimpleTablePage |
Response Requester. | ||
uri | valid? | contents? |
SimpleTablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | a | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | number | string? |
line | 1 | <table> |
line | 2 | <tr> |
line | 3 | <td>a</td> |
line | 4 | <td>b</td> |
line | 5 | <td>c</td> |
line | 6 | </tr> |
line | 7 | </table> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
* Item one * Item twoshould be rendered as a list with a sub list.
We use backslash is a way to capture the leading space before the *.
script | |
start | Page Builder |
line | \ * Item One |
line | \ * Item Two |
page | SubList |
Response Requester. | ||
uri | valid? | contents? |
SubList | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <li>Item One<ul> | [false] expected [true] |
Response Examiner. | ||
type | number | string? |
line | 1 | <ul> |
line | 2 | <li>Item One<ul> |
line | 3 | <li>Item Two</li> |
line | 4 | </ul> |
line | 5 | </li> |
line | 6 | </ul> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage | ^SubPage | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | \^SubPage<a title="create page" href="SuperPage.SubPage\?edit&nonExistent=true">\[\?\]</a> | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage.SubPage | nothing | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SuperPage.SubPage">\^SubPage</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage | [[tag][^SubPage]] | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | tag<a title="create page" href="SuperPage.SubPage\?edit&nonExistent=true">\[\?\]</a> | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
SuperPage.SubPage | nothing | true |
Response Requester. | ||
uri | valid? | contents? |
SuperPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <a href="SuperPage.SubPage">tag</a> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | |1 Row 1 Cell| |
page | TableTestPage |
Response Requester. | ||
uri | valid? | contents? |
TableTestPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | <table.*<tr>\s*<td>\s*1 Row 1 Cell\s*</td>\s*</tr>\s*</table> | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
script | |
start | Page Builder |
line | | 1 is not a list| |
page | TableTestPageTwo |
Response Requester. | ||
uri | valid? | contents? |
TableTestPageTwo | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | 1 is not a list | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | <ol> | false |
contents | 1 is not a list | [false] expected [true] |
script | |
start | Page Builder |
line | !|'''bold'''|''italic''| |
page | TableTestPageThree |
Response Requester. | ||
uri | valid? | contents? |
TableTestPageThree | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | '''bold''' | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | ''italic'' | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Comment | |
!see SomeTestPage | See: SomeTestPage[?] |
script | |
start | Page Builder |
line | Dummy Text |
page | SomePage |
script | |
start | Page Builder |
line | !see SomePage |
page | SuitePage |
Response Requester. | |
uri | valid? |
SuitePage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. |
contents? |
HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner. | ||
type | pattern | matches? |
contents | <b>See: <a href=.*>SomePage</a></b> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
TitleTestPage | some content | true |
Response Requester. | |
uri | valid? |
TitleTestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | value |
contents | <title>TitleTestPage</title> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |
start | Page Builder |
line | !define x {1} |
line | x is ${x} |
line | PAGE_NAME is ${PAGE_NAME} |
line | PAGE_PATH is ${PAGE_PATH} |
page | VariablePage |
Response Requester. | ||
uri | valid? | contents? |
VariablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | x is 1 | [false] expected [true] |
contents | PAGE_NAME is <a href="VariablePage">VariablePage | [false] expected [true] |
contents | PAGE_PATH is . | [false] expected [true] |
script | |
start | Page Builder |
line | !define x (1) |
line | x is ${x} |
page | ParenVariablePage |
Response Requester. | ||
uri | valid? | contents? |
ParenVariablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | x is 1 | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
The internal representation of a literal is changed from !lit(n) to !lit?n? so as to avoid conflict with the !define X () widget syntax.
script | |
start | Page Builder |
line | !define xLitBRACE {!-xLitBRACE-!-!-!} |
line | !define xLitPAREN (!-xLitPAREN-!-!-!) |
line | xLitBRACE is ${xLitBRACE} |
line | xLitPAREN is ${xLitPAREN} |
page | ParenVariablePage |
Response Requester. | ||
uri | valid? | contents? |
ParenVariablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | xLitPAREN is xLitPAREN | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | xLitBRACE is xLitBRACE | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
script | |
start | Page Builder |
line | !define xy. (1) |
line | !define x.y (2) |
line | !define .xy (3) |
line | !define .x.y. (4) |
line | !define .xy. (5) |
line | !define .x.y (6) |
line | !define x.y. (7) |
line | !define x..y (8) |
line | ~xy. is ${xy.}~ |
line | ~x.y is ${x.y}~ |
line | ~.xy is ${.xy}~ |
line | ~.x.y. is ${.x.y.}~ |
line | ~.xy. is ${.xy.}~ |
line | ~.x.y is ${.x.y}~ |
line | ~x.y. is ${x.y.}~ |
line | ~x..y is ${x..y}~ |
page | ParenVariablePage |
Response Requester. | ||
uri | valid? | contents? |
ParenVariablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | ~xy. is 1~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | ~x.y is 2~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | ~.xy is 3~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | ~.x.y. is 4~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | ~.xy. is 5~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | ~.x.y is 6~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | ~x.y. is 7~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | ~x..y is 8~ | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
System property setter fixture | |
key | value |
xKey | xValue |
script | |
start | Page Builder |
line | xKey is ${xKey} |
page | VariablePage |
Response Requester. | ||
uri | valid? | contents? |
VariablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | xKey is xValue | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
System property setter fixture | |
key | value |
xKey | xValue |
script | |
start | Page Builder |
line | !define xKey {xValueFromPage} |
line | xKey is ${xKey} |
page | VariablePage |
Response Requester. | ||
uri | valid? | contents? |
VariablePage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | xKey is xValueFromPage | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 939 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) fitnesse.fixtures.PageDriver.requestPage(PageDriver.java:56) sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.LibraryMethodExecutor.execute(LibraryMethodExecutor.java:18) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
echo fixture |
page driver |
script | |||
check | echo | { [ ( | { [ ( |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportedRoot | !contents | true |
ImportedRoot.PageOne | page one | true |
ImportedRoot.PageOne.ChildOne | child one | true |
ImportedRoot.PageTwo | page two | true |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&autoUpdate=0&remoteUrl=http://localhost:9123/ImportedRoot&nochunk=true | true |
Response Examiner | ||
type | pattern | matches? |
contents | 3 pages were imported | [false] expected [true] |
Sleep | 1000 |
Save Page Requester | ||
uri | save contents | status! |
ImportedRoot.PageOne?edit | Some ultra fresh content | 303 |
Response Requester. | |
uri | valid? |
ImportingPage?suite | true |
Response Examiner | |||
type | pattern | matches? | contents? |
contents | Updating imported content... | [false] expected [true] | HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Requester. | |
uri | valid? |
ImportingPage.PageOne | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner | ||
type | pattern | matches? |
contents | Some ultra fresh content | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Included page: CreateSecureWiki (edit)
Authenticator Setup | ||
username | password | status? |
Aladdin | open sesame | ok |
Page creator. | ||
Page name. | page attributes | valid? |
ImporteePage | secure-read=true | true |
ImporteePage.ChildPage | true |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImporteePage&nochunk=true | true |
Response Examiner | |||
type | pattern | matches? | wrapped html? |
contents | ImporteePage requires authentication | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:37) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Included page: CreateSecureWiki (edit)
Authenticator Setup | ||
username | password | status? |
Aladdin | open sesame | ok |
Page creator. | ||
Page name. | page attributes | valid? |
ImporteePage | secure-read=true | true |
ImporteePage.ChildPage | true |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImporteePage&remoteUsername=Aladdin&remotePassword=open+sesame | true |
Response Examiner | |||
type | pattern | matches? | wrapped html? |
contents | 1 page was imported | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 909 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:37) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:8980/FitNesse.SampleWiki | true |
Response Examiner | |||
type | pattern | matches? | wrapped html? |
contents | ChildPageOne | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 909 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:37) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | GrandChildPageOne | [false] expected [true] |
contents | GreatGrandChildPageOne | [false] expected [true] |
contents | ChildPageTwo | [false] expected [true] |
contents | GrandChildPageTwo | [false] expected [true] |
contents | ChildPageThree | [false] expected [true] |
Response Requester. | |
uri | valid? |
ImportingPage.ChildPageOne | true |
__EXCEPTION__:java.lang.NullPointerException | |
ImportingPage.ChildPageOne.GrandChildPageOne | true |
__EXCEPTION__:java.lang.NullPointerException | |
ImportingPage.ChildPageOne.GrandChildPageOne.GreatGrandChildPageOne | true |
__EXCEPTION__:java.lang.NullPointerException | |
ImportingPage.ChildPageTwo | true |
__EXCEPTION__:java.lang.NullPointerException | |
ImportingPage.ChildPageTwo.GrandChildPageTwo | true |
__EXCEPTION__:java.lang.NullPointerException | |
ImportingPage.ChildPageThree | true |
__EXCEPTION__:java.lang.NullPointerException |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:8980/FitNesse.SampleWiki | true |
Response Examiner | ||
type | pattern | matches? |
contents | ChildWithUnicode | [false] expected [true] |
Response Requester. | ||
uri | valid? | contents? |
ImportingPage.ChildWithUnicode | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 909 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:37) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner | ||
type | pattern | matches? |
contents | japanese: メインページ | [false] expected [true] |
contents | icelandic: Forsíða | [false] expected [true] |
contents | ukranian: Головна стаття | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportedRoot | !contents | true |
ImportedRoot.PageOne | page one | true |
ImportedRoot.PageOne.ChildOne | child one | true |
ImportedRoot.PageTwo | page two | true |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImportedRoot&nochunk=true | true |
Response Examiner | ||
type | pattern | matches? |
contents | 3 pages were imported | [false] expected [true] |
Response Requester. | |
uri | status? |
ImportedRoot.PageOne?responder=deletePage&confirmed=yes | 303 |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&nochunk=true | true |
Response Examiner | |||
type | pattern | matches? | contents? |
contents | 0 pages were imported | [false] expected [true] | HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 java.net.MalformedURLException: null is not a valid URL. fitnesse.responders.WikiImporter.parseUrl(WikiImporter.java:263) fitnesse.responders.WikiImportingResponder.initializeImporter(WikiImportingResponder.java:76) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:34) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 |
Response Examiner | ||
type | pattern | matches? |
contents | 2 orphaned pages were found and have been removed. | [false] expected [true] |
contents | Orphans: | [false] expected [true] |
contents | PageOne | [false] expected [true] |
contents | PageOne.ChildOne | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?properties | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner | |||
type | pattern | matches? | wrapped html? |
contents | Wiki Import. | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 java.net.MalformedURLException: null is not a valid URL. fitnesse.responders.WikiImporter.parseUrl(WikiImporter.java:263) fitnesse.responders.WikiImportingResponder.initializeImporter(WikiImportingResponder.java:76) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:34) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | <input .* name="remoteUrl" | [false] expected [true] |
contents | <input .* type="submit" .* value="Import" | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:8980/FitNesse.SampleWiki | true |
Response Requester. | |
uri | valid? |
ImportingPage?properties | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner | |||
type | pattern | matches? | wrapped html? |
contents | Wiki Import Update | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 909 java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:37) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner | ||
type | pattern | matches? |
contents | <input .* name="remoteUrl" | false |
contents | <input .* type="submit" .* value="Update Subpages" | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportedRoot | !contents | true |
ImportedRoot.PageOne | page one | true |
ImportedRoot.PageOne.ChildOne | child one | true |
ImportedRoot.PageTwo | page two | true |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImportedRoot&nochunk=true | true |
Response Examiner | ||
type | pattern | matches? |
contents | 3 pages were imported | [false] expected [true] |
Sleep | 1000 |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&nochunk=true | true |
Response Examiner | |||
type | pattern | matches? | wrapped html? |
contents | 0 pages were imported | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 java.net.MalformedURLException: null is not a valid URL. fitnesse.responders.WikiImporter.parseUrl(WikiImporter.java:263) fitnesse.responders.WikiImportingResponder.initializeImporter(WikiImportingResponder.java:76) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:34) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
contents | 3 pages were unmodified | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 java.net.MalformedURLException: null is not a valid URL. fitnesse.responders.WikiImporter.parseUrl(WikiImporter.java:263) fitnesse.responders.WikiImportingResponder.initializeImporter(WikiImportingResponder.java:76) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:34) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Save Page Requester | ||
uri | save contents | status! |
ImportedRoot.PageOne?edit | 3.141592 | 303 |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&nochunk=true | true |
Response Examiner | ||
type | pattern | matches? |
contents | 1 page was imported | [false] expected [true] |
contents | PageOne | [false] expected [true] |
contents | 2 pages were unmodified | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
Page creator. | ||
Page name. | Page contents. | valid? |
ImportingPage | !contents | true |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&remoteUrl=http://localhost:8980/FitNesse.SampleWiki | true |
Save Page Requester | |||
uri | save contents | status! | contents? |
ImportingPage.ChildPageOne?edit | 3.141592 | 303 | <pre>HTTP/1.1 303 See Other Content-Length: 0 Location: ImportingPage.ChildPageOne Connection: close Server: FitNesse-v20130321 Previous-Version: 856 Content-Type: text/html; charset=utf-8 </pre> |
Response Requester. | |
uri | valid? |
ImportingPage?responder=import&nochunk=true | true |
Response Examiner | |||
type | pattern | matches? | wrapped html? |
contents | 0 pages were imported | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Content-Type: text/html; charset=utf-8 java.net.MalformedURLException: null is not a valid URL. fitnesse.responders.WikiImporter.parseUrl(WikiImporter.java:263) fitnesse.responders.WikiImportingResponder.initializeImporter(WikiImportingResponder.java:76) fitnesse.responders.WikiImportingResponder.doSending(WikiImportingResponder.java:34) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Requester. | |
uri | valid? |
ImportingPage.ChildPageOne | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner | ||
type | pattern | matches? |
contents | child page one | false |
contents | 3.141592 | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.ScenarioLibrary (edit)
scenario | given editable page | page | |
create page | @page | with authentication | Edit |
$IT= | echo | @page |
scenario | import | importedPage | into | importingPage |
check | request page | @importingPage?responder=import&remoteUrl=http://localhost:9123/@importedPage | 200 |
scenario | Water mark and edit buttons should be on page | page | |
check | request page | @page?properties | 200 |
show | content | ||
check | request page | @page | 200 |
show | content | ||
ensure | content matches | <body class="imported"> | |
ensure | content matches | Edit Locally | |
ensure | content matches | Edit Remotely |
scenario | Water mark and edit buttons should not be on page | page | |
check | request page | @page | 200 |
reject | content matches | <body class="imported"> | |
reject | content matches | Edit Locally | |
reject | content matches | Edit Remotely |
Included page: .FitNesse.SuiteAcceptanceTests.SuiteWikiImportTests.SetUp (edit)
Included page: <SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Library |
page driver |
echo fixture |
script | |||||||||||||||||||||||||||||||||||||||||||||
given page | ImportingPage | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
given page | ImportedPage | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
given page | ImportedPage.ImportedChild | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
import | ImportedPage | into | ImportingPage | ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Water mark and edit buttons should be on page | ImportingPage.ImportedChild | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Water mark and edit buttons should not be on page | ImportingPage | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Water mark and edit buttons should not be on page | ImportedPage | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
Water mark and edit buttons should not be on page | ImportedPage.ImportedChild | ||||||||||||||||||||||||||||||||||||||||||||
|
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
PageWithTags | page with tags | Suites=Tags For The Page | true |
Response Requester. | |
uri | valid? |
PageWithTags | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <h5> Tags For The Page</h5> | [false] expected [true] |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
PageWithNoTags. | page with no tags | true |
Response Requester. | |
uri | valid? |
PageWithNoTags | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <header>.*<h5>.*</h5>.*</header> | false |
Response Requester. | |
uri | valid? |
PageWithTags?refactor&type=move | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <h5> Tags For The Page</h5> | [false] expected [true] |
script | Page Builder |
attributes | Suites=Tags On Test Page |
line | !path ${java.class.path} |
line | |!-fitnesse.testutil.PassFixture-!| |
page | TestPage |
Response Requester. | |
uri | valid? |
TestPage?responder=test | true |
Response Examiner. | ||
type | pattern | matches? |
contents | Tags On Test Page | [false] expected [true] |
Response Requester. | |
uri | valid? |
ErrorLogs.TestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | <h5> Tags On Test Page</h5> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
NormalPage | normal | true | |
TestPage | test | true | |
PageHeader | header | true | |
PageFooter | footer | true | |
SetUp | set up | true | |
TearDown | tear down | true |
Response Requester. | |
uri | valid? |
NormalPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | (header).*(normal).*(footer) | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | set up | false |
contents | tear down | false |
Response Requester. | |
uri | valid? |
TestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | (header).*(set up).*(test).*(tear down).*(footer) | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
NormalPage.TestSubPage | test sub page | true |
Response Requester. | |
uri | valid? |
NormalPage.TestSubPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | (header).*(set up).*(test sub page).*(tear down).*(footer) | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
NormalPage.SetUp | sub setup | true | |
NormalPage.TearDown | sub teardown | true |
Response Requester. | |
uri | valid? |
NormalPage.TestSubPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | (header).*(sub setup).*(test sub page).*(sub teardown).*(footer) | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
TestPage | test | true | |
SetUp | set up | true | |
TearDown | tear down | true |
Response Requester. | |
uri | valid? |
TestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | .*(set up).*(test).*(tear down).* | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | <div class="collapsible closed">.*<div>set up</div> | [false] expected [true] |
contents | <div class="collapsible closed">.*<div>tear down</div> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !define COLLAPSE_SETUP {true} |
line | !define COLLAPSE_TEARDOWN {true} |
page | ParentPage |
Page creator. | ||
Page name. | Page contents. | valid? |
SetUp | set up | true |
TearDown | tear down | true |
script | Page Builder |
line | test something |
page | ParentPage.TestPage |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.TestPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | .*(set up).*(test).*(tear down).* | [false] expected [true] |
Response Examiner. | ||
type | pattern | matches? |
contents | <div class="collapsible closed">.*<div>set up</div> | [false] expected [true] |
contents | <div class="collapsible closed">.*<div>tear down</div> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
TestPage | test | true | |
SetUp | set up | true | |
TearDown | tear down | true |
Response Requester. | |
uri | valid? |
TestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | .*(set up).*(test).*(tear down).* | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | <div class="collapsible closed">.*<div>set up</div> | [false] expected [true] |
contents | <div class="collapsible closed">.*<div>tear down</div> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
script | Page Builder |
line | !define COLLAPSE_SETUP {false} |
line | !define COLLAPSE_TEARDOWN {false} |
page | ParentPage |
Page creator. | ||
Page name. | Page contents. | valid? |
SetUp | set up | true |
TearDown | tear down | true |
script | Page Builder |
line | test something |
page | ParentPage.TestPage |
Response Requester. | ||
uri | valid? | contents? |
ParentPage.TestPage | true | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | ||
type | pattern | matches? |
contents | .*(set up).*(test).*(tear down).* | [false] expected [true] |
Response Examiner. | ||
type | pattern | matches? |
contents | <div class="collapsible">.*<div>set up</div> | [false] expected [true] |
contents | <div class="collapsible closed">.*<div>tear down</div> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |
Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
Import |
fitnesse.fixtures |
SetUp |
Page creator. | |||
Page name. | Page contents. | Page attributes. | valid? |
TestPage | test | true | |
SuiteSetUp | suite set up | true | |
SuiteTearDown | suite tear down | true |
Response Requester. | |
uri | valid? |
TestPage | true |
__EXCEPTION__:java.lang.NullPointerException |
Response Examiner. | |||
type | pattern | matches? | wrapped html? |
contents | .*(suite set up).*(test).*(suite tear down).* | [false] expected [true] | <pre>HTTP/1.1 200 OK Connection: close Server: FitNesse-v20130321 Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8fb java.lang.NullPointerException org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514) org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:373) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:79) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:26) fitnesse.http.MockResponseSender.doSending(MockResponseSender.java:43) fitnesse.fixtures.ResponseRequester.execute(ResponseRequester.java:39) sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:16) fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43) fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30) fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:52) fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20) fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:122) fitnesse.slim.StatementExecutor.call(StatementExecutor.java:100) fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) fitnesse.slim.instructions.Instruction.execute(Instruction.java:26) fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:50) fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:44) fitnesse.slim.ListExecutor.execute(ListExecutor.java:84) fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:107) fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:94) fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:68) fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:54) fitnesse.slim.SlimServer.serve(SlimServer.java:40) fitnesse.slim.SlimService.accept(SlimService.java:112) fitnesse.slim.SlimService.startWithFactory(SlimService.java:37) fitnesse.slim.SlimService.main(SlimService.java:24) 0 </pre> |
Response Examiner. | ||
type | pattern | matches? |
contents | <div class="collapsible closed">.*<div>suite set up</div> | [false] expected [true] |
contents | <div class="collapsible closed">.*<div>suite tear down</div> | [false] expected [true] |
Included page: .FitNesse.SuiteAcceptanceTests.ScenarioLibrary (edit)
scenario | given page | page | with content | content |
create page | @page | with content | @content | |
$IT= | echo | @page |
scenario | given page | page | |
given page | @page | with content | nothing |
scenario | given test page | page |
given page | @page | |
make | @page | a test page |
scenario | given slim test page | page | |
given page | @page | with content | !define TEST_SYSTEM {slim} |
make | @page | a test page |
scenario | page | source | should have link to | target |
check | request page | @source | 200 | |
ensure | content contains | <a href="@target"> | ||
$IT= | echo | @source |
scenario | it should have link to | target | |
page | $IT | should have link to | @target |
scenario | and it should have link to | target | |
page | $IT | should have link to | @target |
scenario | page | source | should have creating link to | target |
check | request page | @source | 200 | |
ensure | content contains | @target<a title="create page" href="@target?edit&nonExistent=true">[?]</a> |
scenario | it should have creating link to | target | |
page | $IT | should have creating link to | @target |
scenario | page | source | should contain | text |
check | request page | @source | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | page | source | should not contain | text |
check | request page | @source | 200 | |
reject | content contains | @text | ||
show | content |
scenario | page | source | should match | text |
check | request page | @source | 200 | |
ensure | content matches | @text | ||
show | content |
scenario | it should contain | text | |
page | $IT | should contain | @text |
scenario | it should not contain | text | |
page | $IT | should not contain | @text |
scenario | it should contain | text | in line | symbol |
check | request page | $IT | 200 | |
$@symbol= | line number containing | @text |
scenario | it should match | text | |
page | $IT | should match | @text |
scenario | test results for page | source | should contain | text |
check | request page | @source?test | 200 | |
ensure | content contains | @text | ||
show | content |
scenario | its test results should contain | text | |
test results for page | $IT | should contain | @text |
scenario | test ressults for page | source | should not contain | text |
check | request page | @source?test | 200 | |
reject | content contains | @text | ||
show | content |
scenario | and should contain | text |
ensure | content contains | @text |
show | content |
scenario | and should match | text |
ensure | content matches | @text |
show | content |
scenario | and should not contain | text |
reject | content contains | @text |
show | content |
scenario | widget | wikiText | should render | htmlText |
create page | WidgetPage | with content | @wikiText | |
check | request page | WidgetPage | 200 | |
ensure | content matches | @htmlText | ||
show | content |
scenario | the line | after | should come after | before |
check | echo int | $@before | < $@after |
scenario | pass | ||
check | echo | pass | pass |