hokaccha / Sprinkler
Licence: mit
End To End Testing framework.
Stars: ✭ 50
Programming Languages
go
31211 projects - #10 most used programming language
sprinkler
[WIP]
End To End Testing framework.
Get started
Install sprinkler
OSX:
$ brew install hokaccha/tap/sprinkler
Other platforms:
Dowonload from releases
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].