Releases: viscalyx/PesterConverter
Releases · viscalyx/PesterConverter
v0.2.0-preview0009
[v0.2.0-preview0009]
Added
- Public commands:
Convert-PesterSyntax
- Add support for Should operators:
- Be
- BeExactly
- BeFalse
- BeGreaterOrEqual
- BeGreaterThan
- BeIn
- BeLessOrEqual
- BeLessThan
- BeLike
- BeLikeExactly
- BeNullOrEmpty
- BeOfType
- BeTrue
- Contain
- Match
- MatchExactly
- Throw
- Added new parameter
OutputPath
to write the resulting file to
a separate path.
- Add support for Should operators:
- Add integration tests.
Fixed
- Improve code to resolve ScriptAnalyzer warnings and errors.
- Localize all the strings.
Convert-PesterSyntax
- The
Should
operatorsBeLike
andBeLikeExactly
was mistakenly not
calling their respectively conversion function. - Correctly handle abbreviated named parameters.
- The
Should -BeFalse
,Should -BeTrue
andShould -BeNullOrEmpty
are now
correctly converted whenBecause
is the only positional parameter.- Negated
Should -Not -BeLessThan
now converts toShould-BeGreaterThanOrEqual
to correctly handle scenario when actual value and expected value are the same. - Negated
Should -Not -BeGreaterThan
now converts toShould-BeLessThanOrEqual
to correctly handle scenario when actual value and expected value are the same. - Fix parameter name in
Convert-ShouldBeOfType
- Minor change to
Get-AstDefinition
to handle when a file is not correctly
parsed. - Some code cleanup.
- Fix incorrect position value in Get-PesterCommandParameter.
- Update PowerShell version requirement to 7.1.
v0.2.0-preview0008
[v0.2.0-preview0008]
Added
- Public commands:
Convert-PesterSyntax
- Add support for Should operators:
- Be
- BeExactly
- BeFalse
- BeGreaterOrEqual
- BeGreaterThan
- BeIn
- BeLessOrEqual
- BeLessThan
- BeLike
- BeLikeExactly
- BeNullOrEmpty
- BeOfType
- BeTrue
- Contain
- Match
- MatchExactly
- Throw
- Added new parameter
OutputPath
to write the resulting file to
a separate path.
- Add support for Should operators:
- Add integration tests.
Fixed
- Improve code to resolve ScriptAnalyzer warnings and errors.
- Localize all the strings.
Convert-PesterSyntax
- The
Should
operatorsBeLike
andBeLikeExactly
was mistakenly not
calling their respectively conversion function. - Correctly handle abbreviated named parameters.
- The
Should -BeFalse
,Should -BeTrue
andShould -BeNullOrEmpty
are now
correctly converted whenBecause
is the only positional parameter.- Negated
Should -Not -BeLessThan
now converts toShould-BeGreaterThanOrEqual
to correctly handle scenario when actual value and expected value are the same. - Negated
Should -Not -BeGreaterThan
now converts toShould-BeLessThanOrEqual
to correctly handle scenario when actual value and expected value are the same. - Fix parameter name in
Convert-ShouldBeOfType
- Minor change to
Get-AstDefinition
to handle when a file is not correctly
parsed.
v0.2.0-preview0007
[v0.2.0-preview0007]
Added
- Public commands:
Convert-PesterSyntax
- Add support for Should operators:
- Be
- BeExactly
- BeFalse
- BeGreaterOrEqual
- BeGreaterThan
- BeIn
- BeLessOrEqual
- BeLessThan
- BeLike
- BeLikeExactly
- BeNullOrEmpty
- BeOfType
- BeTrue
- Contain
- Match
- MatchExactly
- Throw
Fixed
- Improve code to resolve ScriptAnalyzer warnings and errors.
- Localize all the strings.
v0.2.0-preview0006
[v0.2.0-preview0006]
Added
- Public commands:
Convert-PesterSyntax
- Add support for Should operators:
- Be
- BeExactly
- BeFalse
- BeGreaterOrEqual
- BeGreaterThan
- BeLessOrEqual
- BeLessThan
- BeLike
- BeLikeExactly
- BeNullOrEmpty
- BeOfType
- BeTrue
- Contain
- Match
- MatchExactly
- Throw
Fixed
- Improve code to resolve ScriptAnalyzer warnings and errors.
- Localize all the strings.
v0.2.0-preview0005
[v0.2.0-preview0005]
Added
- Public commands:
Convert-PesterSyntax
- Add support for additional Should operators:
Should-BeGreaterThan
Should-BeGreaterOrEqual
Should-BeLessThan
Should-BeLessOrEqual
.
Fixed
- Improve code to resolve ScriptAnalyzer warnings and errors.
- Localize all the strings.
v0.2.0-preview0004
[v0.2.0-preview0004]
Added
- Public commands:
Convert-PesterSyntax
Fixed
- Improve code to resolve ScriptAnalyzer warnings and errors.
- Localize all the strings.
v0.2.0-preview0003
[v0.2.0-preview0003]
Added
- Public commands:
Convert-PesterSyntax
v0.2.0-preview0002
[v0.2.0-preview0002]
Added
- Public commands:
Convert-PesterSyntax
- GitHub templates.
Fixed
- Fixed code formatting according to style guideline.
v0.2.0-preview0001
[v0.2.0-preview0001]
Added
- Public commands:
Convert-PesterSyntax
- GitHub templates.
v0.1.0-preview0001
[v0.1.0-preview0001]
Added
- Public commands:
Convert-PesterSyntx