This is an API to retrieve the nutritional information of a given food item.
MIT License
1
stars
1
forks
source link
As a contributor to the Nutrition Information API, I want continuous integration to automatically build, unit test, and integration test each commit for a pull request, so I can detect errors early through automation. #5
As a contributor to the Nutrition Information API, I want continuous integration to automatically build, unit test, and integration test each commit for a pull request, so I can detect errors early through automation.
Acceptance Criteria:
Given a PR, when there are new commits, then it is automatically installed and automated tests are run
Given a PR, when automated tests are run, then if they pass the PR can be merged into master.
Given a PR, when automated tests are run, then if they fail the PR cannot be merged into master.
Test plan:
Until features, such as #1, are implemented. The automated tests run on a PR will be "echo \"No tests currently specified\". Testing for this issue will be done manually covering the acceptance criteria.
Development work:
The Nutrition.Information.Api github repository's settings are set to Require status checks to pass before merging
Using Travis CI, a .travis.yml file will be added with language: node_js and integrated with the Nutrition.Information.Api github repository to enable automatic checks
Using npm init an initial node package.json file will be created
As a contributor to the Nutrition Information API, I want continuous integration to automatically build, unit test, and integration test each commit for a pull request, so I can detect errors early through automation.
Acceptance Criteria:
Test plan: Until features, such as #1, are implemented. The automated tests run on a PR will be
"echo \"No tests currently specified\"
. Testing for this issue will be done manually covering the acceptance criteria.Development work:
language: node_js
and integrated with the Nutrition.Information.Api github repository to enable automatic checksnpm init
an initial node package.json file will be createdDefinition of Ready