/
Developing Code
Developing Code
This precis assumes knowledge of GIT, Bitbucket and the repository structure of our products.
- Usually, this involves a JIRA ticket - see Creating a JIRA Ticket
- Set the ticket to in progress
- look at the requirements
- find out which product needs to be changed.
- Check out the code.
- For small fixes, cloning the master branch of the GIT repository is enough.
- Modify the code
- Test
- Work out a test plan
- Ideally, this would include new unit tests in the tests/ folder
- Make sure unit tests explain what they're testing and/or reference documentation . Cucumber or similar might help here.
- Tox test automation files are provided in all repositories
- Running tox will run the available test files as well as running the flake8 utility.
- Go to 3 until the tests are satisfied.
- Run a smoke test by running the larger product. It's worth doing this before the commit - see discussion in /wiki/spaces/RR/pages/1315274767
- Work out a test plan
- Commit Code
- Include the JIRA Ticket Number at the beginning of the message - this will link the code to the JIRA ticket in JIRA.
- On commit, automated build processes will take place. The build will appear here:
\\rr-bamboo.northbristol.local\Registry_Test_Utils - For something like Validation, if you have not already, run a smoke test.
- Hand over for User Acceptance Test
- set the JIRA to review.