As a developer
I need to make sure that all codes run TDD and Unit Test before merging to master branch
So that I know that the build is not broken
Assumptions:
There are available test cases and they are passing
Acceptance Criteria:
Given that I want to view the status of the build
When I want to clone a new repo or merge a pull request
Then I can view the Travis CI badge on GitHub to get the status
....
Steps to achieve this:
Create an account on Travis CI for supplier GitHub org
Create a .travis.yml file and configure Travis CI to run test cases for each push to the master branch
Set up Travis CI to monitor GitHub repo for push and pull
Add a Travis CI badge to your README.md file to inform everyone if the build is broken
---EXAMPLE---
Make the hit counter persistently survive service restarts
As a User
I need the hit counter to persist the last known count
So that I don't loose track of the count after the service is restarted
Assumptions:
• We will use Redis as the persistent store
• A Redis service from Bluemix should be used
Acceptance Criteria:
When I advance the hit counter to 2
And I restart the hit counter services
And I call the hit counter URL
Then I should see 3 returned from the service
As a developer I need to make sure that all codes run TDD and Unit Test before merging to master branch So that I know that the build is not broken
Assumptions:
Acceptance Criteria: Given that I want to view the status of the build When I want to clone a new repo or merge a pull request Then I can view the Travis CI badge on GitHub to get the status ....
Steps to achieve this:
---EXAMPLE--- Make the hit counter persistently survive service restarts
As a User I need the hit counter to persist the last known count So that I don't loose track of the count after the service is restarted
Assumptions: • We will use Redis as the persistent store • A Redis service from Bluemix should be used
Acceptance Criteria: When I advance the hit counter to 2
And I restart the hit counter services
And I call the hit counter URL
Then I should see 3 returned from the service
---End of EXAMPLE---