×
Back to book

Managing Regression with a Codebot

All software projects should be managing regression that can be introduced from release to release by developers or from outside factors. Working with a codebot as a member of your team is no different.

A codebot operates within a strict set of contraints to enable the output to be deterministic. Provided we are following the rules outlined by the use of Protected Regions and the Bot Written Warning as well as the steps outlined by the Bot version upgrade process and we practise discipline within our team for model changes (communicate changes being made) the bot will behave as expected and we will have no surprises.

Additionally, it is recommended to develop tests for each piece of custom code or to update bot tests to reflect changes in logic, to provide regression coverage as would be the normal practice when developing with a human colleague.

Details on testing can be found in Custom Tests with SpringBot and Custom Tests with C#Bot.