• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JaCraig / Corset / 8904757900
88%

Build:
DEFAULT BRANCH: master
Ran 01 May 2024 03:07AM UTC
Jobs 1
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 May 2024 03:04AM UTC coverage: 88.393% (+8.0%) from 80.392%
8904757900

push

github

JaCraig
fix: Adding additional test coverage

Changes:

1. `CorsetTests.cs`: New unit tests have been added for the `Corset` class's methods, including `Compress`, `Decompress`, and `ToString`. The existing tests have been updated to follow the Arrange-Act-Assert pattern and to provide more meaningful names. A constructor has been added to initialize a `Corset` instance and an array of `ICompressor` instances for use in the tests.
2. `HelperExtensions.cs`: This file has been updated to include XML comments for the `ToByteArray` and `ToString` extension methods and to handle nullable parameters.
3. `Corset.cs`: This file has been updated to handle nullable parameters in the `Compress` and `Decompress` methods. The `ToString` method has been updated to use a cached string value for performance optimization.
4. `CorsetModule.cs`: This file has been updated to use the new `AddCorset` extension method from the `Corset.Registration` namespace.
5. `CanisterExtensions.cs`: This file has been updated to use the `Corset.Registration` namespace and the `CorsetRegistration` class. The `RegisterCorset` method now uses the `CorsetRegistration` class's assembly for registration.
6. `RegistrationTests.cs` and `ServiceCollectionExtensionsTests.cs`: New unit tests have been added to test the `RegisterCorset` and `AddCorset` methods, respectively.
7. `CorsetServiceCollectionExtensions.cs`: A new file has been added to the `Corset.Registration` namespace. This file contains the `AddCorset` extension method for the `IServiceCollection` interface, which adds all `ICompressor` implementations and the `Corset` class to the service collection.

64 of 88 branches covered (72.73%)

18 of 20 new or added lines in 4 files covered. (90.0%)

1 existing line in 1 file now uncovered.

99 of 112 relevant lines covered (88.39%)

17.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8904757900.1 01 May 2024 03:07AM UTC 0
88.39
GitHub Action Run
Source Files on build 8904757900
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8904757900
  • 6ea31249 on github
  • Prev Build on master (#8904330167)
  • Next Build on master (#8916220639)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc