Skip to content

Releases: viscalyx/PesterConverter

v0.2.0-preview0014

16 Feb 15:07
74731a7
Compare
Choose a tag to compare
v0.2.0-preview0014 Pre-release
Pre-release

[v0.2.0-preview0014]

Added

  • Public commands:
    • Convert-PesterSyntax
      • Add support for Should operators:
        • Be
        • BeExactly
        • BeFalse
        • BeGreaterOrEqual
        • BeGreaterThan
        • BeIn
        • BeLessOrEqual
        • BeLessThan
        • BeLike
        • BeLikeExactly
        • BeNullOrEmpty
        • BeOfType
        • BeTrue
        • Contain
        • HaveCount
        • Invoke
        • Match
        • MatchExactly
        • Throw
      • Add support for Assert-MockCalled.
      • Added new parameter OutputPath to write the resulting file to
        a separate path.
  • Add integration tests.

Fixed

  • Improve code to resolve ScriptAnalyzer warnings and errors.
  • Localize all the strings.
  • Convert-PesterSyntax
    • The Should operators BeLike and BeLikeExactly was mistakenly not
      calling their respectively conversion function.
    • Correctly handle abbreviated named parameters.
  • Should -BeFalse, Should -BeTrue and Should -BeNullOrEmpty are now
    correctly converted when Because is the only positional parameter.
  • Negated Should -Not -BeLessThan now converts to Should-BeGreaterThanOrEqual
    to correctly handle scenario when actual value and expected value are the same.
  • Negated Should -Not -BeGreaterThan now converts to Should-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.
  • Get-PesterCommandParameter
    • Now supports Switch parameters.
    • Also supports when Switch parameters is the last parameter on the extent.
  • Updated conversion documentation for Should -Invoke, Should -Not -Invoke
    and Should -HaveCount.
  • Now converting Should -HaveCount works when -Not:$false is specified.

v0.2.0-preview0013

08 Feb 14:01
24948be
Compare
Choose a tag to compare
v0.2.0-preview0013 Pre-release
Pre-release

[v0.2.0-preview0013]

Added

  • Public commands:
    • Convert-PesterSyntax
      • Add support for Should operators:
        • Be
        • BeExactly
        • BeFalse
        • BeGreaterOrEqual
        • BeGreaterThan
        • BeIn
        • BeLessOrEqual
        • BeLessThan
        • BeLike
        • BeLikeExactly
        • BeNullOrEmpty
        • BeOfType
        • BeTrue
        • Contain
        • HaveCount
        • Invoke
        • Match
        • MatchExactly
        • Throw
      • Added new parameter OutputPath to write the resulting file to
        a separate path.
  • Add integration tests.

Fixed

  • Improve code to resolve ScriptAnalyzer warnings and errors.
  • Localize all the strings.
  • Convert-PesterSyntax
    • The Should operators BeLike and BeLikeExactly was mistakenly not
      calling their respectively conversion function.
    • Correctly handle abbreviated named parameters.
  • Should -BeFalse, Should -BeTrue and Should -BeNullOrEmpty are now
    correctly converted when Because is the only positional parameter.
  • Negated Should -Not -BeLessThan now converts to Should-BeGreaterThanOrEqual
    to correctly handle scenario when actual value and expected value are the same.
  • Negated Should -Not -BeGreaterThan now converts to Should-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.
  • Get-PesterCommandParameter
    • Now supports Switch parameters.
    • Also supports when Switch parameters is the last parameter on the extent.
  • Updated conversion documentation for Should -Invoke, Should -Not -Invoke
    and Should -HaveCount.

v0.2.0-preview0012

08 Feb 10:30
ad62ce0
Compare
Choose a tag to compare
v0.2.0-preview0012 Pre-release
Pre-release

[v0.2.0-preview0012]

Added

  • Public commands:
    • Convert-PesterSyntax
      • Add support for Should operators:
        • Be
        • BeExactly
        • BeFalse
        • BeGreaterOrEqual
        • BeGreaterThan
        • BeIn
        • BeLessOrEqual
        • BeLessThan
        • BeLike
        • BeLikeExactly
        • BeNullOrEmpty
        • BeOfType
        • BeTrue
        • Contain
        • HaveCount
        • Invoke
        • Match
        • MatchExactly
        • Throw
      • Added new parameter OutputPath to write the resulting file to
        a separate path.
  • Add integration tests.

Fixed

  • Improve code to resolve ScriptAnalyzer warnings and errors.
  • Localize all the strings.
  • Convert-PesterSyntax
    • The Should operators BeLike and BeLikeExactly was mistakenly not
      calling their respectively conversion function.
    • Correctly handle abbreviated named parameters.
  • Should -BeFalse, Should -BeTrue and Should -BeNullOrEmpty are now
    correctly converted when Because is the only positional parameter.
  • Negated Should -Not -BeLessThan now converts to Should-BeGreaterThanOrEqual
    to correctly handle scenario when actual value and expected value are the same.
  • Negated Should -Not -BeGreaterThan now converts to Should-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.
  • Get-PesterCommandParameter
    • Now supports Switch parameters.
    • Also supports when Switch parameters is the last parameter on the extent.

v0.2.0-preview0011

08 Feb 07:13
ce2ee9e
Compare
Choose a tag to compare
v0.2.0-preview0011 Pre-release
Pre-release

[v0.2.0-preview0011]

Added

  • Public commands:
    • Convert-PesterSyntax
      • Add support for Should operators:
        • Be
        • BeExactly
        • BeFalse
        • BeGreaterOrEqual
        • BeGreaterThan
        • BeIn
        • BeLessOrEqual
        • BeLessThan
        • BeLike
        • BeLikeExactly
        • BeNullOrEmpty
        • BeOfType
        • BeTrue
        • Contain
        • HaveCount
        • Invoke
        • Match
        • MatchExactly
        • Throw
      • Added new parameter OutputPath to write the resulting file to
        a separate path.
  • Add integration tests.

Fixed

  • Improve code to resolve ScriptAnalyzer warnings and errors.
  • Localize all the strings.
  • Convert-PesterSyntax
    • The Should operators BeLike and BeLikeExactly was mistakenly not
      calling their respectively conversion function.
    • Correctly handle abbreviated named parameters.
  • Should -BeFalse, Should -BeTrue and Should -BeNullOrEmpty are now
    correctly converted when Because is the only positional parameter.
  • Negated Should -Not -BeLessThan now converts to Should-BeGreaterThanOrEqual
    to correctly handle scenario when actual value and expected value are the same.
  • Negated Should -Not -BeGreaterThan now converts to Should-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.
  • Get-PesterCommandParameter
    • Now supports Switch parameters.

v0.2.0-preview0010

07 Feb 15:41
114cdf4
Compare
Choose a tag to compare
v0.2.0-preview0010 Pre-release
Pre-release

[v0.2.0-preview0010]

Added

  • Public commands:
    • Convert-PesterSyntax
      • Add support for Should operators:
        • Be
        • BeExactly
        • BeFalse
        • BeGreaterOrEqual
        • BeGreaterThan
        • BeIn
        • BeLessOrEqual
        • BeLessThan
        • BeLike
        • BeLikeExactly
        • BeNullOrEmpty
        • BeOfType
        • BeTrue
        • Contain
        • Invoke
        • Match
        • MatchExactly
        • Throw
      • Added new parameter OutputPath to write the resulting file to
        a separate path.
  • Add integration tests.

Fixed

  • Improve code to resolve ScriptAnalyzer warnings and errors.
  • Localize all the strings.
  • Convert-PesterSyntax
    • The Should operators BeLike and BeLikeExactly was mistakenly not
      calling their respectively conversion function.
    • Correctly handle abbreviated named parameters.
  • Should -BeFalse, Should -BeTrue and Should -BeNullOrEmpty are now
    correctly converted when Because is the only positional parameter.
  • Negated Should -Not -BeLessThan now converts to Should-BeGreaterThanOrEqual
    to correctly handle scenario when actual value and expected value are the same.
  • Negated Should -Not -BeGreaterThan now converts to Should-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.
  • Get-PesterCommandParameter
    • Now supports Switch parameters.

v0.2.0-preview0009

06 Aug 10:47
dca329b
Compare
Choose a tag to compare
v0.2.0-preview0009 Pre-release
Pre-release

[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 integration tests.

Fixed

  • Improve code to resolve ScriptAnalyzer warnings and errors.
  • Localize all the strings.
  • Convert-PesterSyntax
    • The Should operators BeLike and BeLikeExactly was mistakenly not
      calling their respectively conversion function.
    • Correctly handle abbreviated named parameters.
  • Should -BeFalse, Should -BeTrue and Should -BeNullOrEmpty are now
    correctly converted when Because is the only positional parameter.
  • Negated Should -Not -BeLessThan now converts to Should-BeGreaterThanOrEqual
    to correctly handle scenario when actual value and expected value are the same.
  • Negated Should -Not -BeGreaterThan now converts to Should-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

02 Aug 16:31
42526bf
Compare
Choose a tag to compare
v0.2.0-preview0008 Pre-release
Pre-release

[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 integration tests.

Fixed

  • Improve code to resolve ScriptAnalyzer warnings and errors.
  • Localize all the strings.
  • Convert-PesterSyntax
    • The Should operators BeLike and BeLikeExactly was mistakenly not
      calling their respectively conversion function.
    • Correctly handle abbreviated named parameters.
  • Should -BeFalse, Should -BeTrue and Should -BeNullOrEmpty are now
    correctly converted when Because is the only positional parameter.
  • Negated Should -Not -BeLessThan now converts to Should-BeGreaterThanOrEqual
    to correctly handle scenario when actual value and expected value are the same.
  • Negated Should -Not -BeGreaterThan now converts to Should-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

14 Jul 13:39
9ad45fc
Compare
Choose a tag to compare
v0.2.0-preview0007 Pre-release
Pre-release

[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

12 Jul 18:18
8cba13b
Compare
Choose a tag to compare
v0.2.0-preview0006 Pre-release
Pre-release

[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

12 Jul 17:28
dd77828
Compare
Choose a tag to compare
v0.2.0-preview0005 Pre-release
Pre-release

[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.