Framework Mode - Unit testing concept
Folder Structure
project-root/
├── src/
│ ├── main/
│ │ └── java/
│ │ └── com/
│ │ └── example/
│ │ └── app/
│ │ └── Calculator.java
│ └── test/
│ └── java/
│ └── com/
│ └── example/
│ └── app/
│ └── CalculatorTest.java
├── pom.xml
└── README.md
This is a typical Maven project structure for JUnit unit tests. Production code is under src/main/java. Test code is under src/test/java.