Gen AI: Testing with GitHub Copilot - hands-on workshop - bring a laptop

Tuesday, 1:30 PM EST - SAND DUNE

In this workshop, we'll cover the options, tips, and tricks for using GitHub Copilot to help us identify how to test code, generate tests for existing code, and generate tests before the code.

Join global trainer, speaker, and author of the upcoming book, Learning GitHub Copilot, Brent Laster as he presents material on multiple ways to leverage Copilot for testing your code on any platform and framework.

Have you wondered what options GitHub Copilot can provide for helping to not only write your code, but test your code? In this session, we'll examine some key ways that Copilot can support you in ensuring you have the basic testing needs covered. In particular, we'll cover:

  • A quick overview of GitHub Copilot
  • Letting Copilot tell you how to get started testing for a new language
  • Creating tests for existing code through one-step commands
  • Creating tests for existing code with comments
  • Creating tests for existing code with explicit prompts
  • Validating inputs to functions using Copilot
  • Using Copilot to build out tests for edge cases
  • Leveraging testing frameworks
  • Building tests before the code - TDD with Copilot

Workshop Requirements

This session is a workshop. Please come prepared.

The following are required to be able to do the labs in the workshop:

  • A laptop
  • GitHub account on the public GitHub.com (free tier is fine). (Note: Enterprise GitHub accounts may not work)
  • Active GitHub Copilot subscription (there is a 30-day free trial you can sign up for). See https://github.com/github-copilot/signup or https://github.com/settings/copilot (if logged in) to signup
  • We will be using a GitHub Codespace as the default environment to run in as it requires no setup and can run through your browser. If you prefer, you can use an IDE that Copilot supports and install Copilot in that IDE ahead of time. (Not all labs may work the same for all IDEs)

About Brent Laster

Brent Laster

Hi, I'm Brent Laster - a global trainer and book author, experienced corporate technology developer and leader, and founder and president of Tech Skills Transformations LLC. I've been working with and presenting at NFJS events for many years now and it is always exciting and interesting.

Through my decades in programming and management,I've always tried to make time to learn and develop both technical and leadership skills and share them with others Regardless of the topic or technology, my belief is that there is no substitute for the excitement and sense of potential that come from providing others with the knowledge they need to help them accomplish their goals.

In my spare time, I hang out with my wife Anne-Marie, 4 children and 2 small dogs in Cary, North Carolina where I design and conduct trainings and write books. You can find me on LinkedIn (linkedin.com/in/brentlaster), Twitter (@brentclaster) or through my company's website at www.getskillsnow.com.

More About Brent »