ChatGPT & Java Research Driven Development of a Personal Budget App, Part 5

1 year ago
15

Welcome to our latest video in which we demonstrate how to build a user-friendly personal budget application using ChatGPT and Java. In this fifth part of the series, we delve into the coding aspect by creating unit tests for our User.java file. Our focus today is on testing various unit test cases to ensure the application's robustness and stability. Specifically, we will be testing the following scenarios:

- Valid Last Name
- Given Invalid Last Name When Set Name Throw Exception
- When Last Name Is Blank Throw Exception
- Invalid Last Name SQL Injection
- Invalid First Name SQL Injection
- Username Is Blank
- Valid Email
- Given Invalid Email When Setting Email Throw Exception
- Invalid Email SQL Injection

Furthermore, we will also be addressing failed test cases that were discovered while creating new test cases. By the end of this video, you will have a comprehensive understanding of unit testing and how it can be utilized to ensure the reliability and stability of your personal budget app.

Don't miss our live coding sessions on Twitch.TV/WarMad2, where you can see the coding process in action before the stream transitions to gaming. Get ready to take your Java and ChatGPT skills to the next level!

Loading comments...