A lightweight, dependency-free unit testing framework built from scratch in core Java. This project demonstrates custom assertion mechanisms (including assertThrows), execution time benchmarking at the millisecond level, exception handling validation, and clean architectural separation of concerns.
- Zero External Dependencies: Built entirely using native Java standard libraries.
- Core Assertions: Includes
assertEquals,assertTrue,assertFalse,assertNull, andassertNotNull. - Exception Validation (
assertThrows): Features a custom@FunctionalInterface(Executable) to powerassertThrowsfor verifying expected exceptions thrown by invalid operations. - Execution Benchmarking: Measures the execution duration of each individual assertion/test and calculates total suite runtimes using high-precision
System.nanoTime().