Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hokaccha/sprinkler
End To End Testing framework.
https://github.com/hokaccha/sprinkler
Last synced: about 2 months ago
JSON representation
End To End Testing framework.
- Host: GitHub
- URL: https://github.com/hokaccha/sprinkler
- Owner: hokaccha
- License: mit
- Created: 2014-10-05T12:43:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-05T14:54:58.000Z (almost 10 years ago)
- Last Synced: 2024-06-19T06:48:39.198Z (6 months ago)
- Language: Go
- Homepage:
- Size: 508 KB
- Stars: 49
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sprinkler
====================[WIP]
End To End Testing framework.
Get started
--------------### Install sprinkler
OSX:
```
$ brew install hokaccha/tap/sprinkler
```Other platforms:
Dowonload from [releases](https://github.com/hokaccha/sprinkler/releases)
### Setup selenium
OSX:
```
$ brew install selenium-server-standalone
$ selenium-server
```### run hello.yml
```yaml
# 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](https://github.com/hokaccha/sprinkler/tree/master/example).
License
--------------MIT