Skip to content

JordanAdams/smokey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐻 Smokey

Automated smoke testing tool

Installation

Currently requires manual installation:

$ git clone [email protected]:JordanAdams/smokey.git
$ cd smokey
$ npm install
$ npm link

Setup

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"
    ]
  }
}

Usage

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>

About

🐻 Only you can prevent production issues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published