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 guidelines for specific tasks - Github Copilot Tutorial
From the course: GitHub Copilot for System-Level Development
Generating guidelines for specific tasks
- [Instructor] Generating guidelines for specific tasks is crucial when you want to define more than specific constraints. In this case, I want to do test-driven development and I want to implement TDD. And in these Copilot instructions, I'm going to say, "Be very strict with following TDD, including these steps right here." All right, so create a unit test first, then run the test, and make sure it fails. Right, that's very important: Execute the test suite to ensure that the new test fails. Implement the Function, and then we run the test suite. So, I think this is crucial. It allows the GitHub Copilot to try to follow the process. And now we're going to see how that is going to work. I'm going to go here to this validator. It sets certain classes and makes sure that these classes will have a call. And that call will allow it to do certain things. And we essentially want to implement the new one, and I will just come…
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)
-