Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 1.87 KB

testing.md

File metadata and controls

72 lines (46 loc) · 1.87 KB

Federated Gateway: Testing

Federated Gateway uses eslint for static analysis and code formatting, jest as a testing framework and faker to build dummy data.

Table of Contents

Quick Start

npm test

or inside Docker

docker-compose run --rm federated-gateway npm test

Back to Top

Static Analysis

Federated Gateway uses eslint along with reaction-eslint-config for static code analysis. Static analysis validates the code conforms to the coding styleguide. Run static code analysis with npm run lint, or docker-compose run --rm federated-gateway npm run lint to run it inside of the Docker container. To fix simple formatting issues run npm run lint:fix or docker-compose run --rm federated-gateway npm run lint:fix.

Back to Top

Testing Utilities

TODO

Back to Top

Test App

TODO

Back to Top

Dummy Factory

TODO

Back to Top

Unit Test

TODO

Back to Top

Integration Test

TODO

Back to Top

Further Reading

Back to Top