Sha256: b4a0ac6870ce636fd9099bf05715d2d5710c258826ed7d6d694117705cfc3b9e

Contents?: true

Size: 435 Bytes

Versions: 35

Compression:

Stored size: 435 Bytes

Contents

$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.'
. "$here\$sut"

Describe "HelloWorldTest" {
	It "Outputs: 'Hello, World!'" {
		Get-HelloWorld | Should be 'Hello, World!'
	}

	It "Outputs: Hello, Alice!" {
		Get-HelloWorld('Alice') | Should be 'Hello, Alice!'
	}

	It "Outpus: Hello, Bob!" {
		Get-HelloWorld('Bob') | Should be 'Hello, Bob!'
	}
}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.158 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.157 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.156 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.155 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.154 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.153 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.152 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.151 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.150 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.149 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.148 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.147 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.146 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.145 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1