From the course: GitHub Copilot for System-Level Development
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Solution: System-wide code cleanup - Github Copilot Tutorial
From the course: GitHub Copilot for System-Level Development
Solution: System-wide code cleanup
- [Narrator] Now let's make sure that the changes we've done are going to be good enough. I think we still have lots of failures, and I want to leave these code base in pristine conditions. So, what can we do? Well, let's actually go ahead and run all the tests and tell the agent. Now, the reason why I want to do this with the agent is that it will be able to see, like in this case, you can see running tests, 692 passed, or 692 tests passed out of 705 tests. So there are some failures and some decorator tests exist, "Fail due to an expected exceptions or exit behavior." So if I want to look at them visually, you'll see that's how it looks. And we have this ceph_volume decorator, and it's raising a runtime error. So sometimes, again, Copilot will need a little bit of a push. "Go ahead and fix the test_decorators tests." So, we're looking into like some side effects of kind of like the things that have happened before,…
Contents
-
-
-
-
(Locked)
Strategic use of workspace4m 26s
-
(Locked)
Analyzing cross-file dependencies3m 33s
-
(Locked)
Challenge: System-wide code cleanup3m 38s
-
(Locked)
Solution: System-wide code cleanup5m 54s
-
(Locked)
Enforcing styles and constraints7m 34s
-
(Locked)
Generating guidelines for specific tasks3m 45s
-
(Locked)
-