sprinkler

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2014 License: MIT Imports: 9 Imported by: 0

README

sprinkler

End To End Testing framework.

Get started

Setup selenium

OSX:

$ brew install selenium-server-standalone
$ selenium-server
run hello.yml
# hello.yml
scenarios:
- name: Hello sprinkler!
  actions:
  - visit: http://www.google.com
  - assert_title: Google
  - wait_for: input[type="text"]
  - input:
      element: input[type="text"]
      value: Hello
  - submit: form[name="f"]
  - wait: 1000
  - assert_text:
      element: "#main"
      contain: Hello

Run it!

$ sprinkler hello.yml

See more examples.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL