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.
Task 4: The test suite - Github Copilot Tutorial
From the course: Capstone: Building Production Features with Copilot
Task 4: The test suite
- [Instructor] Let's extend our unit test structure by first looking at the output of make coverage. So the make file here is our friend, because it gives us a centralized interface to look at all of the code. And you can see here, we have the output from the test. We also have the ability to see if any of 'em failed. They're all passing, and this make coverage command is really easy to remember. I just run make coverage. Now, in this case, we see that we have extremely good coverage, but could we do a little bit more? For example, this branch coverage here of 83%. Could we actually improve it? I don't know. Let's go ahead and see if we can. First up, what I could do is I could look at the source directory and then I could go to the business reconciliation. So we'll go to business and we'll go to reconciliation. And we see that there's a matcher.ts here. Now what I would do at this point is I would take the output, in…