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.180 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.179 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.178 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.177 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.176 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.175 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.174 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.173 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.172 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.171 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.170 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.169 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.167 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.166 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.165 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.164 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.163 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.162 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.161 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1
trackler-2.2.1.160 tracks/powershell/exercises/hello-world/HelloWorld.tests.ps1