1. Specification run results

1.1. Specifications summary

created on Wed Apr 17 06:15:38 UTC 2019 by buildbot

Table 1. summary
Total Passed Failed Feature failures Feature errors Success rate Total time (ms)

2

0

2

1

1

0.0%

650.0

1.2. Specifications

Name Features Failed Errors Skipped Success rate Time

demo.GebTestSpec

1

0

1

0

0.0%

614

demo.AppTest

4

1

0

1

0.75%

36

2. Report for demo.GebTestSpec

this is a long explanation why
spans several lines and can use AsciiDoc

2.1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

1

0.0%

0.614 seconds

0

1

0

2.2. Features

2.2.1. ERROR: simple screenshot test

When: -

drive {
    go "http://gebish.org"
}
report "Geb start page"

Then: -

title.contains("Browser Automation")
The following Error occured
org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: LINUX
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'build-5cb6c4355030990008c0d7b6', ip: '10.7.63.79', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.65+', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver

2

2.2.2. IGNORED: go method does NOT set the page

Given: -

Page oldPage = page

When: -

go "http://www.google.com"
at GoogleHomePage
report "Google Main page"

Then: -

oldPage == page
report "another report"
currentUrl.contains "google"

2

3. Report for demo.AppTest

3.1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

4

75.0%

0.036 seconds

1

0

1

3.2. Features

3.2.1. PASS: application has a greeting

Given: create new App

def app = new App()

When: when we invoke greeting

def result = app.greeting

Then: we get a non-null result

result != null

2

3.2.2. FAIL: greeting contains 'hello'

Given: create new App

def app = new App()

When: when we invoke greeting

def result = app.greeting

Then: the result contains 'hello'

result.toLowerCase().contains('hello')
result == "hallo welt"
result.toLowerCase().contains('world')
The following Error occured
Condition not satisfied:

result == "hallo welt"
|      |
|      false
|      6 differences (50% similarity)
|      (He)llo w(or)l(d.)
|      (ha)llo w(e-)l(t-)
Hello world.

2

3.2.3. PASS: data driven hello

Expect: just some code

3.times { i ->
    def a = test
}

Where: input data

test result

hello

1

(PASS)

2

3.2.4. PASS: data driven world

Expect: just some code

3.times { i ->
    def a = test
}

Where: input data

test result

world

2

(PASS)

2

3.2.5. IGNORED: not implemented yet

Expect: implement this

println "nothing"
reportInfo "Some information I want to show in the report"

2

generated with Athaydes Spock Reports