Target class
public class Controller
{
public Controller(ILogger<Controller> logger) { ... }
}
Test class
[ConstructorTests(typeof(Controller))]
public class ControllerTests
{
}
Observed, the generated test names contain < and > causing the test method name to be invalid.
Expetected: The source generator should never generate invalid method names.