From the course: Capstone: Building Production Features with Copilot

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Handling complex business rules

Handling complex business rules

- [Instructor] One thing that's a little bit unclear when you're coding with agents is, what is the mechanism to update your code? Let's say that you have a project that has everything in place, it's working properly, you have really good test coverage, you have really good quality, and then it turns out that there's a piece of functionality that's missing. What's scary is, if you're going to use an agent to go through and update it, what is the mechanism that you would use in order to do that? Let's take a look at this concept of BDD, or behavioral-driven development. A human discovers a bug or a human discovers there's a feature missing. In this case, the manual testing shows that, "Whoops, we actually should match 99.9.50 to 1,000", right? That's a tolerance rule that we need, so we would go ahead and build this BDD spec. And then, when we look at this, the first place to do this is with a ticket. So, the…

Contents