Testing the end-to-end process
With all of the configuration done, we will run through a simple scenario that will allow us to test our configuration and ensure that everything is working smoothly.
The scenario will consist of addressing the need to add a new transaction. In order to deliver this new feature, we will perform the following steps/tests:
- Create a new transaction for our business network. Once we are done coding, we will then try to do the following:
- Push a commit to the master branch directly
- Submit a pull request with an unsigned commit
- Add test cases to cover our new transaction:
- Amend our commit to be signed
- Add our test case and submit an additional signed commit
- Release the new version of the business network
- Merge the pull request on the master branch
- Create a new release and check that the BNA is published
Creating a new transaction
For the purpose of our tests, we will keep the new transaction relatively simple: our transaction will merge two assets into one, adding their value...