Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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