Saturday, 18 April 2020

Unit testing in JAVA using JUnit5 from Basics


Understanding Unit Testing in JAVA


* JUnit 5
* What and Why and Where  Unit Testing ???

Testing Code in a faster way.
Testing Code with wide range of combinations of input parameters
Structural and behavioral flow testing of your code.
Art of writing Test cases.

#Video 1

1) Write a sample Java Class.
2) Generate its Test class in a faster way using IntelliJ editor.
3) Understanding imports and Annotation in JUnit 5.
4) Run the test cases.
5) Understand its usefulness of test cases.



#Video 2

1) Adding a few more test cases to Cordinate2D class Example from the previous video.
2) Auto Generate getters, setters, overload comparator function in a faster way using IntelliJ editor.
3) Few more imports and Annotation in JUnit 5.
4) What is Test coverage and How to Run coverage?
5) Understand test coverage meaning and interpret it.
6) Meaning Class Coverage, Method Coverage, and Line Coverage with Example.



#Video 3

1) Quick Recap of Cordinate2D Class.
2) Coverage report -Class Coverage, Method Coverage, and Line Coverage.
3) Understanding What is Test Driven Development(TDD).
4) How to make use of the unit testing if working in groups.
5) Effective Unit Testing, How a developer can think as tester ??
6) Improve your testing over and over again covering negative test cases.





0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home