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

Add E2E tests for normalization of version numbers #2994

Open
2 tasks done
AdmiringWorm opened this issue Jan 24, 2023 · 1 comment
Open
2 tasks done

Add E2E tests for normalization of version numbers #2994

AdmiringWorm opened this issue Jan 24, 2023 · 1 comment
Labels
0 - Backlog Improvement Tests Issues related to the tests (NUnit or Pester)
Milestone

Comments

@AdmiringWorm
Copy link
Member

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

In v2.x we introduced version normalization when packaging, installing, upgrading and uninstalling packages (especially in the console output).
However we have missed adding E2E tests (or at least some E2E tests).

Describe The Solution. Why is it needed?

We need to add E2E tests for packaging nuspec files that doesn't already contain a normalized number (both stable and pre-release), when installing an existing package that was created using a non-normalized number (need to test both using the exact version, and the normalized number), upgrading from a non-normalized package and uninstalling a non-normalized package.

The last two may be a bit problematic and needs to be handled manually by copying the required files into the lib directory first.

Additional Context

No response

Related Issues

@AdmiringWorm AdmiringWorm added Improvement Tests Issues related to the tests (NUnit or Pester) labels Jan 24, 2023
@AdmiringWorm AdmiringWorm added this to the 2.0.0 milestone Jan 24, 2023
@gep13 gep13 modified the milestones: 2.0.0, 2.1.0 May 2, 2023
@gep13
Copy link
Member

gep13 commented May 2, 2023

Pushing this issue to the next milestone as it was deemed as not a hard requirement for the 2.0.0 release, but it is something that needs to be done.

gep13 added a commit that referenced this issue May 16, 2023
(#2994) Add Pester tests for version normalization
@gep13 gep13 modified the milestones: 2.1.0, vNext Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - Backlog Improvement Tests Issues related to the tests (NUnit or Pester)
Projects
None yet
Development

No branches or pull requests

3 participants