dotnet-architecture / News

News on .NET Architecture Guidance, eShopOnContainers and all the reference apps in dotnet-architecture
MIT License
1.1k stars 79 forks source link

Improved approaches for Unit Tests and Functional Tests (including Containers/Services) #19

Open CESARDELATORRE opened 6 years ago

CESARDELATORRE commented 6 years ago

We have made a major update in the tests. The most significant change is that the tests related to just each a microservice are now segregated and are part of the code-boundary of each microservice, instead of having a global physical place for all tests that we used to have. Then, the only global tests that we maintain are the end-to-end integration/functional tests for the whole app/scenarios.

You can:

The multiple testing approaches are explained here: https://github.com/dotnet-architecture/eShopOnContainers/blob/dev/test/readme.md

The Unit Tests and Functional Tests can be improved, for sure. There might be scenarios/cases that are not covered, so we'd be thankful for PRs improving the number&quality of the tests! 👍

atifmir commented 6 years ago

Fantastic brilliant work , thank you for this


From: Cesar De la Torre notifications@github.com Sent: 06 July 2018 17:39 To: dotnet-architecture/News Cc: Subscribed Subject: [dotnet-architecture/News] Improved approaches for Unit Tests and Functional Tests (including Containers/Services) (#19)

We have made a major update in the tests. The most significant change is that the tests related to just each a microservice are now segregated and are part of the code-boundary of each microservice, instead of having a global physical place for all tests that we used to have. Then, the only global tests that we maintain are the end-to-end integration/functional tests for the whole app/scenarios.

You can:

The multiple testing approaches are explained here: https://github.com/dotnet-architecture/eShopOnContainers/blob/dev/test/readme.md

The Unit Tests and Functional Tests can be improved, for sure. There might be scenarios/cases that are not be covered, so we'd be thankful for PRs improving the number&quality of the tests! 👍

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/dotnet-architecture/News/issues/19, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AciEclhOSlXlKW394AlulAgNAGFnjB9bks5uD5KkgaJpZM4VFuwH.

PureKrome commented 6 years ago

So awesome! thank you thank you thank you !