From the course: AI-Powered Software Development: Coding, Testing, and System Design
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Solution: Adding tests to an application
From the course: AI-Powered Software Development: Coding, Testing, and System Design
Solution: Adding tests to an application
(upbeat music) - [Instructor] All right, well hopefully you gave this challenge a try. So let's take a look at the solution. And again, what I'm gonna show you here is just one of many possible strategies you could have used in order to create a well tested expense tracker application. And this challenge was really more to help you explore that on your own so if you did something a little bit different than what I'm gonna do here, that doesn't necessarily mean you were wrong. It's probably just a different approach. Now, with that in mind, there are a few things that I wanted to point out that, just like how test-driven development is still valid, even though we're using AI tools, there are some other things that are valid as well still. And one of those is that code that's more modular is generally easier to test and vice versa. So if you take a look at some of these functions here, at least the ones that I generated,…
Contents
-
-
-
Automated test case generation7m 24s
-
(Locked)
AI-driven unit and integration testing6m 47s
-
(Locked)
Performance and security testing7m 3s
-
(Locked)
What does TDD look like with generative AI?7m 33s
-
(Locked)
Challenge: Adding tests to an application1m 18s
-
(Locked)
Solution: Adding tests to an application5m 29s
-
-
-
-
-