Skip to content

Commit 0867182

Browse files
committed
record test runs on Cypress dashboard
1 parent 1b8feb5 commit 0867182

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
public/
22
node_modules/
33
dist
4+
cypress/videos

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cypress-react-unit-test [![Build Status](https://travis-ci.org/bahmutov/cypress-react-unit-test.svg?branch=master)](https://travis-ci.org/bahmutov/cypress-react-unit-test)
1+
# cypress-react-unit-test [![Build Status](https://travis-ci.org/bahmutov/cypress-react-unit-test.svg?branch=master)](https://travis-ci.org/bahmutov/cypress-react-unit-test) [![Cypress.io tests](https://img.shields.io/badge/cypress.io-tests-green.svg?style=flat-square)](https://dashboard.cypress.io/#/projects/z9dxah)
22

33
> Unit test React components using Cypress
44
@@ -36,4 +36,11 @@ All components are in [src](src) folder. All tests are in [cypress/integration](
3636
* [hello-x-spec.js](cypress/integration/hello-x-spec.js) - testing React component with props and state [hello-x.jsx](src/hello-x.jsx)
3737
* [counter-spec.js](cypress/integration/counter-spec.js) clicks on the component and confirms the result
3838
* [stateless-spec.js](cypress/integration/stateless-spec.js) shows testing a stateless component from [stateless.jsx](src/stateless.jsx)
39-
* separate repo [bahmutov/calculator](https://github.com/bahmutov/calculator) tests multiple components
39+
* separate repo [bahmutov/calculator](https://github.com/bahmutov/calculator) tests multiple components
40+
41+
## Related tools
42+
43+
Same feature for unit testing components from other framesworks using Cypress
44+
45+
* [cypress-vue-unit-test](https://github.com/bahmutov/cypress-vue-unit-test) for Vue.js
46+
* [cypress-hyperapp-unit-test](https://github.com/bahmutov/cypress-hyperapp-unit-test) for Hyperapp

cypress.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"viewportWidth": 300,
33
"viewportHeight": 100,
4-
"port": 3456
4+
"videoRecording": false,
5+
"projectId": "z9dxah"
56
}

0 commit comments

Comments
 (0)