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

Update cake tools #2293

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Update cake tools #2293

wants to merge 13 commits into from

Conversation

martincostello
Copy link
Member

@martincostello martincostello commented Sep 17, 2024

  • Bump xunit.runner.console to 2.9.1.
  • Bump dotnet-stryker to 4.2.0.

- Bump xunit.runner.console to 2.9.0.
- Bump dotnet-stryker to 4.2.0.
@martincostello martincostello added CI/build dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Sep 17, 2024
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.38%. Comparing base (995090e) to head (1ffaf0b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2293      +/-   ##
==========================================
+ Coverage   85.35%   85.38%   +0.02%     
==========================================
  Files         313      313              
  Lines        7444     7457      +13     
  Branches     1122     1123       +1     
==========================================
+ Hits         6354     6367      +13     
  Misses        745      745              
  Partials      345      345              
Flag Coverage Δ
linux 85.38% <100.00%> (+0.02%) ⬆️
macos 85.35% <100.00%> (-0.01%) ⬇️
windows 85.35% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello
Copy link
Member Author

Needs more mutants.

- Fix the options from DI not being passed through to the strategy.
- Assert that the strategy isn't null when retrieved.
- Remove redundant branch because when the key is null it uses the default key, which is what `CurrentValue` does anyway.
- Assert that the correct options instance is retrieved.
@@ -61,8 +61,7 @@ internal AddResiliencePipelineContext(ConfigureBuilderContext<TKey> registryCont
public TOptions GetOptions<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] TOptions>(string? name = null)
{
var monitor = ServiceProvider.GetRequiredService<IOptionsMonitor<TOptions>>();

return name == null ? monitor.CurrentValue : monitor.Get(name);
return monitor.Get(name);
Copy link
Member Author

Choose a reason for hiding this comment

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

Effectively duplicates the implementation the way it was.

Rename property to fix Name being overwritten.
- Start with the newest to see if that fixes Stryker.
- Explicitly target Debug for mutation tests.
- Add missing `eng` items to the Solution Items.
Enable dev mode for Stryker to try and work out why Polly.Specs mutation tests are failing.
Can only be enabled on the command-line, not in the configuration file.
Remove `true`.
Include logs from Stryker in the mutation reports.
It's a flag, not an option that you give a path...
See if stryker will work it out for itself.
Revert changes made to try and get Stryker working as it's been confirmed there's a bug.
Update xunit.runner.console to 2.9.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/build dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant