Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opencomponents/oc-testing
Code examples for testing OC components
https://github.com/opencomponents/oc-testing
opencomponents
Last synced: about 2 months ago
JSON representation
Code examples for testing OC components
- Host: GitHub
- URL: https://github.com/opencomponents/oc-testing
- Owner: opencomponents
- License: mit
- Archived: true
- Created: 2017-02-15T11:08:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T14:47:31.000Z (about 3 years ago)
- Last Synced: 2024-04-14T07:49:33.096Z (3 months ago)
- Topics: opencomponents
- Language: JavaScript
- Size: 843 KB
- Stars: 4
- Watchers: 19
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Lists
- awesome-oc - Testing OC components - Code examples for unit/acceptance/ui testing components (Components examples)
README
oc-testing [![Build Status](https://secure.travis-ci.org/opencomponents/oc-testing.png?branch=master)](http://travis-ci.org/opencomponents/oc-testing)
==========Code examples for testing [OC components](https://github.com/opentable/oc).
* Uses Jest for unit testing a component's server.js
* Uses Jest + request for acceptance testing a component's API
* Uses Jest + nightmarejs for ui testing a component's UI### Getting in touch
In case you have any questions, open an issue.
### Running the tests
#### Yarn
```bash
yarn
yarn test:coverage
```#### Npm
```bash
npm i
npm run test:coverage
```### License
MIT
### Test
Husky