Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/base http test server #10

Closed
wants to merge 17 commits into from
Closed

Conversation

Carl-Hugo
Copy link
Member

No description provided.

- ITestServerStartupHttpTestServerBuilder can no longer be initialized without specifying a IStatusCodeProvider.
- TestServerStartup No longer register a default IStatusCodeProvider
- TestServerStartup default IResponseProvider has been updated from EchoResponseProvider to EmptyResponseProvider
- BaseHttpTest now register OkStatusCodeProvider as it's default IStatusCodeProvider
- It now throws a NotSupportedException when `IHttpTestServer Arrange()` is called.
- The NotSupportedException include a message to help understand what to do.
- IHttpTestServerBuilder
- IHttpTestServerBuilder<TStartup>
- ITestServerStartupHttpTestServerBuilder
- In this case, ResponseText will return string.Empty
- Names are now in line with test code arguments order
Added tests for EmptyResponseForPathProvider
Created WrongEndpointException
Both EmptyResponseForPathProvider and JsonPathResponseProvider now throws a WrongEndpointException when the requested path is not expected.
@Carl-Hugo Carl-Hugo added this to In progress in ForEvolve Framework Apr 20, 2018
@Carl-Hugo Carl-Hugo force-pushed the feature/base-http-test-server branch from a6a7c2e to 686168b Compare April 25, 2018 18:43
@Carl-Hugo Carl-Hugo added this to the v1.0.0 milestone Apr 25, 2018
@Carl-Hugo Carl-Hugo mentioned this pull request Jun 21, 2018
34 tasks
@Carl-Hugo Carl-Hugo closed this Jun 25, 2018
ForEvolve Framework automation moved this from In progress to Done Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant