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.
Performance and security testing
From the course: AI-Powered Software Development: Coding, Testing, and System Design
Performance and security testing
- [Speaker] Alright, so at this point, we've seen how to use AI tools to generate tests for code that we've created, whether that's functions or entire classes. But as I'm sure you're aware, the fact that our programs do what they're supposed to do is only part of what's important to software developers. Obviously, it's a very important part, but there are other concerns such as that our code does what it's supposed to do in a reasonable amount of time, fairly efficiently that is and does so in a secure way. It doesn't make much sense to have a server that does what it's supposed to do, for example, if the security features of the server aren't working correctly. And so what I have here are two examples of code that leaves something to be desired. And the first one here is a function that checks for duplicates in a list. Now this function does work, however, it's not implemented in a very efficient way, as you can see by…
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
-
-
-
-
-