Skip to content

Refactoring tests and additional test cases #27

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

smaillet
Copy link
Member

@smaillet smaillet commented Jun 3, 2025

Refactoring tests and additional test cases

  • Re-factored tests to isolate the script versioning bootstrap support from the rest of the tests as they have VERY different intents.
  • Added additional test of the formatting and results of various configurations of pre-release, CI and build metadata.

* Re-factored tests to isolate the script versioning bootstrap support from the rest of the tests as they have VERY different intents.
* Added additional test of the formatting and results of various configurations of pre-release, CI and build metadata.
Copy link

github-actions bot commented Jun 3, 2025

Test Results

43 tests  +8   43 ✅ +8   10s ⏱️ +3s
 2 suites ±0    0 💤 ±0 
 2 files   ±0    0 ❌ ±0 

Results for commit d8171c5. ± Comparison against base commit 4cc535e.

This pull request removes 3 and adds 11 tests. Note that renamed tests count towards both.
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateRepoAssemblyVersion ("net48")
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateRepoAssemblyVersion ("net8.0")
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateRepoAssemblyVersion ("netstandard2.0")
Ubiquity.Versioning.Build.Tasks.UT.AssemblyValidationTests ‑ ValidateRepoAssemblyVersion ("net48")
Ubiquity.Versioning.Build.Tasks.UT.AssemblyValidationTests ‑ ValidateRepoAssemblyVersion ("net8.0")
Ubiquity.Versioning.Build.Tasks.UT.AssemblyValidationTests ‑ ValidateRepoAssemblyVersion ("netstandard2.0")
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateVersionFormatting (False,False,False)
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateVersionFormatting (False,False,True)
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateVersionFormatting (False,True,False)
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateVersionFormatting (False,True,True)
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateVersionFormatting (True,False,False)
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateVersionFormatting (True,False,True)
Ubiquity.Versioning.Build.Tasks.UT.BuildTaskTests ‑ ValidateVersionFormatting (True,True,False)
…

@smaillet smaillet merged commit f51faec into UbiquityDotNET:develop Jun 3, 2025
3 checks passed
@smaillet smaillet deleted the AdditionalTestCases branch June 3, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant