README: include style and test info
This commit is contained in:
parent
a3c9e955a1
commit
55a3408ff4
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
|
@ -36,3 +36,22 @@ https://prod.foo.redhat.com:1337/apps/image-builder/landing.
|
|||
To develop both the frontend and the backend you can again use the proxy to run both the
|
||||
frontend and backend locally against the chrome at cloud.redhat.com. For instructions
|
||||
see [devel/README.md](devel/README.md).
|
||||
|
||||
|
||||
## Style Guidelines
|
||||
|
||||
This project uses eslint's recommended styling guidelines. These rules can be found here:
|
||||
https://eslint.org/docs/rules/
|
||||
|
||||
|
||||
## Test Guidelines
|
||||
|
||||
Testing is done using [React Testing Library](https://testing-library.com/docs/react-testing-library/intro).
|
||||
All UI contributions must also include a new test or update an existing test in order to maintain code coverage.
|
||||
|
||||
Tests can be run with
|
||||
```
|
||||
npm run test
|
||||
```
|
||||
|
||||
These tests will also be run in our Travis CI when a PR is opened.
|
||||
Loading…
Add table
Add a link
Reference in a new issue