Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.1 KB

File metadata and controls

42 lines (33 loc) · 1.1 KB

JUnit-Examples-for-Beginners

A practical collection of JUnit tests for learning and practicing Java testing.
This repository is designed for beginners to understand how to write unit tests, handle exceptions, and use parameterized tests in Java.


📖 About

JUnit is a popular Java testing framework that allows developers to test their code automatically.
This repo includes simple examples covering:

  • Basic unit tests
  • Exception testing
  • Parameterized tests
  • Testing common Java classes and small projects

🗂 Project Structure

JUnit-Examples-for-Beginners/
│
├─ src/
│ ├─ main
│ ├─ java
│ ├─ jUnit
│ │  ├─ C01_Calculator.java # Basic arithmetic operations
│ │ 
│ │ 
│ │
│ └─ test/java/jUnit
│ ├─ C01_CalculatorTest.java
│ ├─ J01_Assertions.java
│ └─ J02_BeforeAfterEachhAll.java

License

All content in this repository is the original work of the author. You may use it for learning and reference purposes only. Re-uploading, redistributing, or presenting this work as your own is not allowed.