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

feat(repeater): implement HTTP request runner #87

Merged
merged 8 commits into from
Dec 7, 2022

Conversation

derevnjuk
Copy link
Member

closes #85

@derevnjuk derevnjuk self-assigned this Dec 5, 2022
@derevnjuk derevnjuk added the Type: enhancement New feature or request. label Dec 5, 2022
@codeclimate
Copy link

codeclimate bot commented Dec 5, 2022

Code Climate has analyzed commit 4423771 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 96.4% (50% is the threshold).

This pull request will bring the total coverage in the repository to 95.9%.

View more on Code Climate.

@derevnjuk derevnjuk force-pushed the feat_#85/implement_HTTP_request_runner branch from c05ae44 to 8a7c55d Compare December 6, 2022 22:43
@derevnjuk derevnjuk marked this pull request as ready for review December 6, 2022 22:43
src/SecTester.Repeater/Extensions/ListExtensions.cs Outdated Show resolved Hide resolved
_mockHttp.VerifyNoOutstandingExpectation();
result.Should().BeEquivalentTo(new
{
Message = "The operation was canceled."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fact culture has to be tied to en-US

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope at all, fluent assertions behave the same no matter the culture of the machine being run on

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message looks similar to one from OperationCancelledException and it will be localized to the current user culture

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be localized, but it is not. You can easily verify this by running tests with LC_ env on Linux-like. I would highly appreciate you checking if the tests passed on Windows with zh-CN. If so, I don't see any reason to do this

@ostridm ostridm self-requested a review December 7, 2022 06:41
Copy link
Contributor

@ostridm ostridm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unintentionally pressed approve, a few changes required.

Copy link
Contributor

@ostridm ostridm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@derevnjuk derevnjuk merged commit 093ba7e into master Dec 7, 2022
@derevnjuk derevnjuk deleted the feat_#85/implement_HTTP_request_runner branch December 7, 2022 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement HTTP request runner
2 participants