I know this has been asked a lot of times, but this example one test confuses me. The test example here:
Is this a unit or integration test? On the page it specifies it is a unit test but as I understand it, an integration test are tests that uses real dependencies. So is using the GlobalApplication.RegisterRoutes considered a dependency? So is this an integration test? I'm a bit confused to the extent of what a dependency is.
Aucun commentaire:
Enregistrer un commentaire