created on Wed Apr 17 06:15:38 UTC 2019 by buildbot
2
0
1
0.0%
650.0
demo.GebTestSpec
614
demo.AppTest
4
0.75%
36
this is a long explanation why spans several lines and can use AsciiDoc
0.614 seconds
demo/GebTestSpec.groovy
When: -
drive { go "http://gebish.org" } report "Geb start page"
Then: -
title.contains("Browser Automation")
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
Given: -
Page oldPage = page
go "http://www.google.com" at GoogleHomePage report "Google Main page"
oldPage == page report "another report" currentUrl.contains "google"
75.0%
0.036 seconds
demo/AppTest.groovy
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
Then: the result contains 'hello'
result.toLowerCase().contains('hello') result == "hallo welt" result.toLowerCase().contains('world')
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.
Expect: just some code
3.times { i -> def a = test }
Where: input data
hello
(PASS)
world
Expect: implement this
println "nothing" reportInfo "Some information I want to show in the report"
generated with Athaydes Spock Reports