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

(Tests) Increase coverage on filters #151

Merged
merged 22 commits into from
Jan 17, 2024
Merged

(Tests) Increase coverage on filters #151

merged 22 commits into from
Jan 17, 2024

Conversation

haga-rak
Copy link
Owner

No description provided.

Added IPAddress property to the TestPayload class within the MessagePackQueueExtensionsTests. Adjusted the associated Equals and GetHashCode methods to include the new IPAddress property. This ensures proper comparison functionality and hash generation for the updated test payloads.
The ApplyXorSlow method within WsMessage.cs file is no longer necessary and has therefore been removed. This function wasn't efficient and its functionality is covered by the ApplyXor method, contributing to cleaner and more maintainable code.
A new test file, NavigationTests.cs, has been introduced to cover CLI navigation. Concurrently, code in Program.cs has been streamlined for better clarity and readability. Unused environment variable options have been removed, and redundant spacing has been eliminated.
@haga-rak haga-rak added the ci Related to testing and CI label Jan 17, 2024
@haga-rak haga-rak merged commit e86385d into main Jan 17, 2024
3 of 5 checks passed
@haga-rak haga-rak deleted the test/increase-coverage branch January 20, 2024 18:27
haga-rak pushed a commit that referenced this pull request Feb 12, 2024
#151)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
haga-rak added a commit that referenced this pull request Feb 12, 2024
* Add IPAddress to TestPayload in unit tests

Added IPAddress property to the TestPayload class within the MessagePackQueueExtensionsTests. Adjusted the associated Equals and GetHashCode methods to include the new IPAddress property. This ensures proper comparison functionality and hash generation for the updated test payloads.

* Prevent closing provided stream

* Cover more equality test

* Add Zip compress / decompress test

* Include a websocket exchange in test case

* Update test to include ws message

* Add ws exchange in directory archiving tests

* Remove ApplyXorSlow method from WsMessage

The ApplyXorSlow method within WsMessage.cs file is no longer necessary and has therefore been removed. This function wasn't efficient and its functionality is covered by the ApplyXor method, contributing to cleaner and more maintainable code.

* Add self-equality check in EqualityTesterBase
.

* Add test.json to Fluxzy.Tests.csproj.

* Relocated MockedResponseExtensions to its own file.

* Add GetHeaderValueOrDefault method to MockedResponseContent.

* Add unit tests for mock response content.

* Add unit tests for DefaultDnsSolver
.

* Initialize DNS resolution result
.

* Add NavigationTests and clean up Program.cs

A new test file, NavigationTests.cs, has been introduced to cover CLI navigation. Concurrently, code in Program.cs has been streamlined for better clarity and readability. Unused environment variable options have been removed, and redundant spacing has been eliminated.

* Add JsonConstructor to AgentLabelFilter

* Add more filter tests

* Increase default settings coverage

* Use DefaultAgentProvider

* Fix ApplyTagAction default scope

* Add tests for non empty constructors filter type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to testing and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant