Note
These docs are a work in progress. While conceptually correct, the diagrams/code samples on this page might not be 100% in line with the current implementation in Copper.
Test Host
Ability to expose service contracts with an out-of-the-box Test Client.
Context and problem
Often developers and testers are unable to test a service when building "by layer". As often the actual application, or APIs are used by testers to run their tests against. If this is not yet in place, there is nothing to test against.
Solution
Provide an out-of-the-box ability to test (per service or end-to-end) as soon as the definition for the service is complete (class and it's interface). The Test host
allows to expose any service interface as WCF MEX (Meta Data Exchange)
endpoint which allow to connect a number of test tools to it.
Note
We are fully aware of the current limitations of using WCF for Test Host purposes. It limits the target framework to net48
or any variant of the full framework. This causes issues where the netcoreapp*
and net4*
targets are diverging as time goes by.