Software Testing Assistance with GitHub Copilot AI
1h 16mIntermediate2024-08-23
Authors

Gary Kovar
Senior Back-End Developer and Software Engineer
Course details
Discover how to leverage AI, specifically GitHub Copilot, to enhance automated testing in your software development process. Instructor Gary Kovar demonstrates how to write, refactor, and generate tests efficiently, ensuring code quality and stability. Gary starts by exploring the capabilities of Copilot, the principles of automated testing, and how AI can significantly bolster your test coverage and code quality. Learn to configure a test suite, identify testable code, and generate meaningful tests with ease. Practical sessions on refactoring with tests ensure you add a layer of safety to your development process. Upon completing this course, you’ll be ready to use GitHub Copilot to generate automated tests from existing code and create new code after writing tests.
Learning objectives
Learn to combine your specific framework knowledge with automated test generation to create appropriate tests.
Describe how and why to use a tool like GitHub Copilot for automated testing.
Develop your understanding of how to write testable code.
Learning objectives
Learn to combine your specific framework knowledge with automated test generation to create appropriate tests.
Describe how and why to use a tool like GitHub Copilot for automated testing.
Develop your understanding of how to write testable code.
Skills covered
Github CopilotGitHubSoftware TestingGenerative AIArtificial Intelligence FoundationsArtificial Intelligence (AI)Software DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Software testing assistance with GitHub Copilot AI
- 02 - What you should know
- 03 - Using the exercise files
1. Overview
- 04 - What is GitHub Copilot
- 05 - Copilot for code completion
- 06 - Chatting with Copilot
- 07 - Automated testing explained
- 08 - Configuring a test suite
- 09 - AI and automated testing
2. Adding Tests to Existing Code with Copilot
- 10 - Identifying testable code
- 11 - Generate your first tests
- 12 - Refactor with tests
- 13 - Use Copilot slash commands
3. Use Copilot to Generate Code from Tests
- 14 - Write your tests to document business logic
- 15 - Generate code from tests
- 16 - Update functionality by writing more tests
4. Real-World Benefits
- 17 - Code quality
- 18 - Running tests in CI CD
- 19 - Limiting risk by limiting exposure
Conclusion
- 20 - Next steps
Related courses
- Planning a Versioned RESTful API with GitHub Copilot
- GitHub Copilot for Software Developers by Microsoft Press
- GitHub Copilot Cert Prep by Microsoft Press
- Hands-On AI: Build a Web-Based Movie Review Generator Database with Generative AI, HTML, CSS, and PHP
- Building GitHub Bots
- Automate Development Tasks with OpenAI’s Codex
- Test-Driven Development in an AI World
- Coding Smarter with JetBrains AI Assistant
Related learn paths
- Master GitHub Copilot
- Transform Your Programming with AI Coding Tools
- Building Generative AI Skills for Web Developers
- Get Started with PHP
- Develop Your AI Skills with Google Gemini and Google Cloud Platform
- A Developer's Guide to Google Gemini
- Business Writing Professional Certificate
- Build for Digital Accessibility