I have been trying to learn more about MicroServices architecture and I am using Microsoft's eShopOnContainers as a reference because I am familiar with .NET. I am getting into the part about testing, but I noticed that all the tests in the service API folders are referencing the WebMVC project and not the Service.API whatsoever. I have been trying to understand this and haven't been able to figure it out. The Documentation for the tests say you should be able to pull out each of those API folders into their own git repos, but wouldn't they just all have dependency on the WebMVC project? Any help understanding this is greatly appreciated.
closed as off-topic by gnat, BobDalgleish, Thomas Owens♦ Mar 18 at 12:35
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking for assistance in explaining, writing or debugging code are off-topic here. These can be asked on Stack Overflow if they include the desired behavior, a specific problem or error, and the shortest code necessary to reproduce it in the question (see Minimal, Complete, and Verifiable Example)." – gnat, BobDalgleish, Thomas Owens
You're right, it's actually a bug.
It was probably just a left over while developing the unit tests, because the methods being tested there are also covered in OrderWebApiTest.
However, they do test API Classes, but should not test the WebMVC OrderController.