Skip to content

Test.ps1 and publish.ps1 improvements #29

@rulasg

Description

@rulasg

Detected some improvements on test.ps1 and publish.ps1 module support files.

  1. Need to improve publish.ps1 to allow parameter Force on Publish-Module
    2.Need to improve test.ps1 to load the correct TestingHelper verion.

test.ps1 is template for TestingHelper Create Module.

Need to be able to run the following manual test.

Import-TestingHelper -Version "2.1.1-alpha"

uninstall-Module -name TestingHelper -AllVersions ; rmo testinghelper*
Import-TestingHelper -AllowPrerelease # 2.1.1-alpha

Import-TestingHelper -Version 2.5 # 2.5

uninstall-Module -name TestingHelper -AllVersions ; rmo testinghelper*
Import-TestingHelper -Version 1.3 # 1.3

uninstall-Module -name TestingHelper -AllVersions ; rmo testinghelper*
Import-TestingHelper # 2.0

uninstall-Module -name TestingHelper -AllVersions ; rmo testinghelper*
Import-TestingHelper -Version "2.1.1-alpha" # 2.1.1-alpha
Import-TestingHelper # 2.1.1-alpha

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions