Skip to content
develop
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
etc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Backslash

Build Status Build Status
Supported Versions Supported Versions

Backslash is a centralized service for tracking execution of automated tests.

Development

Initial Setup and Prerequisites

Make sure you install all requirements (including development dependencies) through pipenv:

$ pipenv install -d

Additionally, you will need:

  • Postgres (>=9.5) running locally
  • Redis running locally

You will need a running database called backslash locally. Make sure you have Postgres running, and then run:

createdb backslash

Then run DB migrations:

pipenv run manage db upgrade

Running Tests

$ make test

Running the Test Server

First make sure your frontend is built:

$ cd webapp
$ npm install -g ember-cli # only if you don't already have ember-cli
$ yarn install
$ ember build

Then start the test server:

$ pipenv run manage testserver

Running Integration + UI Tests

Once you have a test server running:

$  pipenv run pytest integration_tests -x --app-url http://127.0.0.1:8000 --driver Chrome

License

Backslash is distributed under the BSD 3-clause license.