From the course: GitHub Copilot for System-Level Development
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Generating complex test suites - Github Copilot Tutorial
From the course: GitHub Copilot for System-Level Development
Generating complex test suites
- [Presenter] Test suites can get very complex. And one of the things that I want to show you is how to accomplish these with assistive AI tooling like GitHub Copilot. In this case, this tool called the jformat is a tool that basically takes an input, which is usually a file. You can see here some of the options. It will take a file, and it will reformat JSON input to try to get you nice readable JSON. Sometimes JSON is not very readable, and it does this using a formatter. So, you know, pretty straightforward. And, but however, the tests are only focusing on one thing, which is just the ability to convert the string to a boolean. So, some of these things need to be better. And, you know, this can get very complicated. So, what we're going to do, is I'm going to collapse the explorer here. What I'm going to do is to actually leverage Copilot, so that it can help me out try to, well, produce a very, a more robust way, in a…