Parameter Resolver: TestInfo
Understand how to use dependency injection (TestInfo parameter) in Constructor and Test methods.
We'll cover the following...
What’s dependency injection?
It’s common for a test method to use external dependencies. In JUnit 5, test constructors and methods can have parameters to inject dependencies. However, not all types of parameters are allowed in constructors or methods. Extensions ...