Categories:
aura-minibot-service utility
aura-minibot-service simplifies how aura-mini-bot and aura-mini-groot are generated.
Introduction
The aura-minibot-service utility contains the common elements needed by aura-bot and aura-groot to generate their mini versions: scripts, mock classes and templates, etc.
Find more information in the Github repository: https://github.com/Telefonica/aura-common-utilities/tree/master/packages/aura-bot-utilities/src/aura-mini-bot-service/
These guidelines will allow you to get a copy of the project running on your local machine for development and testing purposes.
Run tests
This project uses Jest for BBDD testing.
Unit tests
$ npm run test
Style tests
These tests perform the validation coding rules defined in Aura using the eslint tool.
You can validate the code using:
$ npm run lint
Coverage tests
You can run the coverage tests using:
$ npm run test
The threshold established to validate the coverage is as follows:
- lines: 90%
- functions: 90%
- statements: 90%
- branches: 70%
Versioning
We use [SemVer] (http://semver.org/) for versioning.
More information regarding latest versions:
$ npm show @telefonica/aura-minibot-service