Automated smoke testing tool
Currently requires manual installation:
$ git clone [email protected]:JordanAdams/smokey.git
$ cd smokey
$ npm install
$ npm link
Smokey is configured using a JSON file at ~/.smokey-config.json
. This file is structured into apps which contain a set of environments and endpoints. You should consider keeping a default
app as this will be called when no app name is passed.
{
"default": {
"environments": {
"local": {
"url": "http://localhost:8080"
},
"stage": {
"url": "http://stage.example.com"
},
"live": {
"url": "http://example.com"
}
},
"endpoints": [
"/",
"/foo",
"/bar/baz?x=y"
]
},
"myotherapp": {
"environments": {
"production": {
"url": "example2.com"
}
},
"endpoints": [
"/",
"/xyz.html"
]
}
}
Check a given environment on the default app.
$ smokey <environment>
Open endpoints in your default browser
$ smokey <environment> -o
Target a specific app
$ smokey -a <app> <environment>