Unit Testing with Generative AI Case Study
Offered By: Codecademy
Course Description
Overview
Use generative AI to help create a unit test for Python code. Generative AI can generate unit tests for all of the functions of a Python class.
In this case study you will develop your skills in using generative AI to assist you in writing unit tests for Python code. We will provide you with a sample Python class and guide you in generating a proper unit test. You will generate a test class, test functions, and a setup function to see how generative AI can improve your coding!
* Create effective prompts that configure an AI system to help in creating a unit test.
* Use generative AI to create a Python test class that will be used to test a Python class.
* Use generative AI to create test functions that will test the member functions of a Python class.
* Use generative AI to create a setup function.
In this case study you will develop your skills in using generative AI to assist you in writing unit tests for Python code. We will provide you with a sample Python class and guide you in generating a proper unit test. You will generate a test class, test functions, and a setup function to see how generative AI can improve your coding!
* Create effective prompts that configure an AI system to help in creating a unit test.
* Use generative AI to create a Python test class that will be used to test a Python class.
* Use generative AI to create test functions that will test the member functions of a Python class.
* Use generative AI to create a setup function.
Syllabus
- Unit Testing with Generative AI Case Study: Learn how to use generative AI to create a unit test
- Informational: Welcome to Unit Testing with Generative AI
- Project: Unit Testing with Generative AI
- Informational: Next Steps
Taught by
Kenny Lin
Related Courses
Ruby on Rails: An IntroductionJohns Hopkins University via Coursera Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera