From the course: Building PHP Applications with Generative AI
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Automated testing vs. AI testing
From the course: Building PHP Applications with Generative AI
Automated testing vs. AI testing
- [Instructor] Automated testing has been around in programming for a while, but with AI being a bigger part of the development process, it's worth clearly defining automated testing versus testing with AI. Automated testing generally refers to using tools and predefined tests to ensure code is functioning properly. For example, you can write a test that your code should accept two integers as input, and that the output will be one integer, which is the sum of those two integers. There are lots of ways to perform automated testing. You can test specific functions, which is called unit testing, or you can test how well parts of a system work together, which is called integration testing. The key here is that you're writing the tests. There are ultimately facts about your code, and the tests verify those facts. If you want to learn more about automated testing, check out our courses in the LinkedIn Learning Library. Testing code with AI is different because it's not as rigid or…