Lecture 01 Code-Along: Data Class and JUnit
0:49 creating the Java project in Eclipse
1:43 creating the model package
1:58 creating the Automobile class
2:16 class javadoc comments
2:54 adding data members
4:06 generating the constructor
4:22 writing the constructor's method comments (including pre- and post-conditions)
7:59 generating getters/setters (also, we refactor the constructor to use setters that handle parameter checking)
14:42 adding toString()
17:55 organizing unit tests (package, test class, and test method naming)
19:55 multiple assertions and assertAll()
21:54 example valid constructor test using assertAll()
24:46 testing for exceptions being thrown (assertThrows())
27:07 testing border conditions
Видео Lecture 01 Code-Along: Data Class and JUnit автора Java Хакеры
Видео Lecture 01 Code-Along: Data Class and JUnit автора Java Хакеры
Информация
5 декабря 2023 г. 15:06:31
00:30:41
Похожие видео