Backstop Remote is sugar for BackstopJS. The main idea of project is providing a list of examples, how to do different stuff and make the process of managing test more visual.
git clone https://github.com/anton-kulagin/service-server.git
npm install
npm start
or runservice_runner/server-start.bat
- Open in browser localhost:3000
- Nodejs 8.9.1 or higher
- Npm 5.5.1 or higher
- Chrome 62 or greater is required
- Read BackstopJS readme
/api/report
- [GET] return latest tests result in JSON format./api/service?method=&filter=
- [GET] url for processing backstop tasksmethod=
- Method parameter just say backstop which one method you want to start.(test
orapprove
)filter=
- Filter parameter if for just running scenarios matching your scenario label. (will run all if empty)
/api/config
-- [GET] return test list in JSON format.
- [POST] update list of tests.
/api/download
- [GET] return backstop.json file for downloading./api/errors
-- [GET] - return list of console errors in JSON.(In case you include logic)
- [POST] - update list of errors.
/api/process-state
-- [GET] Return state of process in JSON. Does backstop in process of testing.
True
if yes{"state": true}
/api/process-state/reset-state
- [GET] will reset state to false.
- [GET] Return state of process in JSON. Does backstop in process of testing.
This is the page with all test result, which we already have. From this page whole sets of test can be started, or approved by Start Test
and Approve all
buttons. Under each failed test also placed two additional buttons. One for restart just this one test, and second for approving only this test.
This is the page with all tests. This page provide possibility add new scenario, download backstop.json file (it can be helpful when there is no access to hard drive) and manage tests. In option row for each scenario there is 4 possibility action.
- Option - will open test on the new page and provide possibility to configure test.
- Remove
- Copy
- Start test
On this page will be stored all console errors which will be captured by backstopjs. Be aware, on this page error will appear only if logic for capturing them will be added in onBefore script.
- Garris Shipon - BackstopJS author - BackstopJS
- Anton Kulagin - Backstop Remote author - Backstop Remote
This project is licensed under the MIT License - see the LICENSE file for details