Skip to content

Updates package versions and dependencies#51

Merged
jldsilva merged 2 commits into
developmentfrom
Update-Nuget-Packages
Sep 30, 2025
Merged

Updates package versions and dependencies#51
jldsilva merged 2 commits into
developmentfrom
Update-Nuget-Packages

Conversation

@jldsilva

@jldsilva jldsilva commented Sep 30, 2025

Copy link
Copy Markdown
Owner

Updates MSTest packages and dependencies in the project.
This ensures the project utilizes the latest features,
performance improvements, and bug fixes available in
the updated packages. It upgrades test-related packages
across multiple unit test projects.

Description by Callstackai

This PR updates MSTest packages and dependencies to their latest versions, ensuring the project benefits from the latest features, performance improvements, and bug fixes. It also updates the Scalar.AspNetCore package version.

Diagrams of code changes
sequenceDiagram
    participant PM as Package Manager
    participant TP as Test Projects
    
    PM->>PM: Add Scalar.AspNetCore v2.8.8
    PM->>PM: Add Testing Extensions Updates
    
    PM->>TP: Update Test Framework
    Note over TP: Switch to MSTest.Sdk v3.10.5
    
    TP-->>PM: Apply Updates to 7 Test Projects
    Note over TP: API.UnitTests<br/>Application.UnitTests<br/>ArchitectureTests<br/>DomainEntities.UnitTests<br/>ExternalServices.UnitTests<br/>Infrastructure.UnitTests<br/>JobScheduler.UnitTests
Loading
Files Changed
FileSummary
Directory.Packages.propsUpdated package versions for MSTest and Scalar.AspNetCore.
InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csprojUpdated MSTest SDK version to 3.10.5.
InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csprojUpdated MSTest SDK version to 3.10.5.
InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csprojUpdated MSTest SDK version to 3.10.5.
InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csprojUpdated MSTest SDK version to 3.10.5.
InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csprojUpdated MSTest SDK version to 3.10.5.
InvoiceReminder.Infrastructure.UnitTests/InvoiceReminder.Infrastructure.UnitTests.csprojUpdated MSTest SDK version to 3.10.5.
InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csprojUpdated MSTest SDK version to 3.10.5.

This PR includes files in programming languages that we currently do not support. We have not reviewed files with the extensions .props, .csproj. See list of supported languages.

Summary by CodeRabbit

  • Novidades
    • Nenhuma.
  • Correções de bugs
    • Nenhuma.
  • Testes
    • Atualização do ecossistema MSTest para 3.10.5 (SDK, Adapter, Framework e Analyzers) em múltiplos projetos de testes.
    • Atualização de extensões de cobertura e geração de relatórios TRX.
  • Chores
    • Atualização de dependências, incluindo Scalar.AspNetCore de 2.8.4 para 2.8.8.
  • Estilo
    • Ajuste mínimo de formatação sem impacto funcional.

Updates MSTest packages and dependencies in the project.
This ensures the project utilizes the latest features,
performance improvements, and bug fixes available in
the updated packages. It upgrades test-related packages
across multiple unit test projects.
@jldsilva jldsilva self-assigned this Sep 30, 2025
@jldsilva jldsilva added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 30, 2025
@coderabbitai

coderabbitai Bot commented Sep 30, 2025

Copy link
Copy Markdown

Walkthrough

Atualiza versões centralizadas de pacotes em Directory.Packages.props (incluindo Scalar.AspNetCore e pacotes de cobertura/TRX) e sincroniza MSTest.Sdk para 3.10.5 em múltiplos projetos de teste. Sem alterações em APIs públicas ou fluxos de controle.

Changes

Cohort / File(s) Resumo das alterações
Gerenciamento central de pacotes
Directory.Packages.props
Bump de Scalar.AspNetCore 2.8.4 → 2.8.8; adicionadas/atualizadas entradas de versão para Microsoft.Testing.Extensions.CodeCoverage (18.0.4) e Microsoft.Testing.Extensions.TrxReport (1.8.5); atualizados MSTest.Analyzers, MSTest.TestAdapter, MSTest.TestFramework para 3.10.5; remoção de whitespace não funcional.
Sincronização MSTest.Sdk em projetos de teste
InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csproj, InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csproj, InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csproj, InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csproj, InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csproj, InvoiceReminder.Infrastructure.UnitTests/InvoiceReminder.Infrastructure.UnitTests.csproj, InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csproj
Atualiza MSTest.Sdk de 3.10.4 → 3.10.5 em todos os projetos listados. Sem outras mudanças funcionais ou estruturais.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutos

Possibly related PRs

Poem

Roí bytes no campo do repo com paixão,
subi versões, pulei com alegria; 🐇
MSTest brilhou, props em perfeita união,
cobertura e TRX cantam na folia.
Um pulinho só — CI feliz na estação! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed O título "Updates package versions and dependencies" resume de forma concisa e clara a principal modificação do pull request, que consiste em atualizar versões de pacotes e dependências em diversos projetos de teste, sem introduzir ruídos ou termos genéricos demais.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Update-Nuget-Packages

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 678148a and f2c2f01.

📒 Files selected for processing (1)
  • Directory.Packages.props (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Analyze (csharp)
🔇 Additional comments (2)
Directory.Packages.props (2)

42-42: Verificação confirma que Scalar.AspNetCore está na versão mais recente (2.8.8) e não há vulnerabilidades conhecidas.


60-64: Pacotes de teste estão nas últimas versões estáveis e sem vulnerabilidades
As versões 18.0.4 (Microsoft.Testing.Extensions.CodeCoverage), 1.8.5 (Microsoft.Testing.Extensions.TrxReport) e 3.10.5 (MSTest.Analyzers, TestAdapter e TestFramework) são as mais recentes estáveis disponíveis, e não há registros de vulnerabilidades conhecidas. Antes de finalizar, reveja as notas de lançamento oficiais de cada pacote para verificar eventuais breaking changes.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
Directory.Packages.props (1)

38-39: Considere consolidar a declaração de versões de pacotes.

As entradas PackageVersion Include para Microsoft.Testing.Extensions.CodeCoverage, Microsoft.Testing.Extensions.TrxReport, MSTest.TestAdapter e MSTest.TestFramework foram declaradas sem atributo Version, com as versões sendo definidas posteriormente via PackageVersion Update nas linhas 64-65 e 67-68. Embora este padrão seja válido no gerenciamento centralizado de pacotes, pode dificultar a manutenção e compreensão.

Considere adicionar as versões diretamente nas declarações Include para melhor legibilidade:

-    <PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" />
-    <PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" />
+    <PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.0.4" />
+    <PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" Version="1.8.5" />
-    <PackageVersion Include="MSTest.TestAdapter" />
-    <PackageVersion Include="MSTest.TestFramework" />
+    <PackageVersion Include="MSTest.TestAdapter" Version="3.10.5" />
+    <PackageVersion Include="MSTest.TestFramework" Version="3.10.5" />

E então remover as entradas correspondentes no ItemGroup de Update (linhas 64-65, 67-68).

Also applies to: 41-42

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c26839c and 678148a.

📒 Files selected for processing (8)
  • Directory.Packages.props (2 hunks)
  • InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csproj (1 hunks)
  • InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csproj (1 hunks)
  • InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csproj (1 hunks)
  • InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csproj (1 hunks)
  • InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csproj (1 hunks)
  • InvoiceReminder.Infrastructure.UnitTests/InvoiceReminder.Infrastructure.UnitTests.csproj (1 hunks)
  • InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csproj (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Analyze (csharp)
🔇 Additional comments (8)
InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csproj (1)

1-1: Atualização consistente aplicada.

O bump do MSTest.Sdk para 3.10.5 está alinhado com os demais projetos de teste no PR. A atualização está correta.

InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csproj (1)

1-1: Atualização aplicada corretamente.

O bump da versão do MSTest.Sdk para 3.10.5 está consistente com os demais projetos de teste.

InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csproj (1)

1-1: Atualização consistente.

O bump do MSTest.Sdk para 3.10.5 mantém a consistência com os outros projetos de teste no PR.

InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csproj (1)

1-1: Atualização aplicada corretamente.

O bump do MSTest.Sdk para 3.10.5 completa a atualização consistente em todos os projetos de teste do repositório.

InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csproj (1)

1-1: Atualização do MSTest.Sdk está consistente.

A atualização do MSTest.Sdk para a versão 3.10.5 está alinhada com as mudanças no Directory.Packages.props e com os outros projetos de teste na solução. A integração com o gerenciamento centralizado de pacotes está correta.

InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csproj (1)

1-1: Atualização do MSTest.Sdk está correta.

A versão 3.10.5 do MSTest.Sdk é consistente com as atualizações realizadas em todos os projetos de teste da solução. A configuração do projeto está adequada para o gerenciamento centralizado de pacotes.

Directory.Packages.props (2)

46-46: Atualização validada: Scalar.AspNetCore 2.8.8. A versão 2.8.8 está disponível no NuGet e não possui vulnerabilidades conhecidas.


64-68: Verificação concluída: as versões 3.10.5 dos pacotes MSTest e 18.0.4/1.8.5 das extensões de teste existem no NuGet e não apresentam vulnerabilidades conhecidas.

Removes several packages related to testing,
likely indicating a shift in testing strategy or
the adoption of a different testing framework.
@jldsilva jldsilva merged commit acd56ad into development Sep 30, 2025
5 checks passed
@jldsilva jldsilva deleted the Update-Nuget-Packages branch September 30, 2025 21:07
@coderabbitai coderabbitai Bot mentioned this pull request Oct 14, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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