When trying to create an instance of a class, we use multiple approaches, including but not limited to
- finding a public constructor
- finding a public factory-method
If all those strategies fail, we throw an exception only telling the user that the final step failed. In order to investigate what's wrong with the class, one has to debug into Fixture.
As a user I would like to see the outcome of all intermediate steps, e.g. if no factory-method was found and the fixturing fails, I'd like to see that also no constructor was found, etc.
When trying to create an instance of a class, we use multiple approaches, including but not limited to
If all those strategies fail, we throw an exception only telling the user that the final step failed. In order to investigate what's wrong with the class, one has to debug into Fixture.
As a user I would like to see the outcome of all intermediate steps, e.g. if no factory-method was found and the fixturing fails, I'd like to see that also no constructor was found, etc.