Starting to get the project set up. Nothing is even nearly complete yet.

This commit is contained in:
simon 2016-10-13 14:25:54 +01:00
commit b6a24bc1ce
59 changed files with 7118 additions and 0 deletions

View file

@ -0,0 +1,7 @@
Feature: Cukes
An example of testing a compojure app with cucumber.
Scenario: Index Page
Given I am at the "homepage"
Then I should see "Welcome to youyesyet"

View file

@ -0,0 +1,11 @@
(require '[clj-webdriver.taxi :as taxi]
'[youyesyet.browser :refer [browser-up browser-down]]
'[clojure.test :refer :all])
(Given #"^I am at the \"homepage\"$" []
(browser-up)
(taxi/to "http://localhost:3000/"))
(Then #"^I should see \"([^\"]*)\"$" [title]
(is (= (taxi/text "div.jumbotron > h1") title))
(browser-down))