Sha256: 1d32963f6cf0a149897664fb7b24662eaa697c9253845147ca7b3a9628dc9678

Contents?: true

Size: 429 Bytes

Versions: 360

Compression:

Stored size: 429 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!'" {
		HelloWorld | Should be 'Hello World!'
	}

	It "outputs Hello Alice!" {
		HelloWorld('Alice') | Should be 'Hello Alice!'
	}

	It "outpus Hello Bob!" {
		HelloWorld('Bob') | Should be 'Hello Bob!'
	}
}

Version data entries

360 entries across 360 versions & 1 rubygems

Version Path
trackler-2.2.1.143 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.142 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.141 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.140 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.139 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.138 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.137 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.136 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.135 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.134 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.133 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.132 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.131 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.130 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.129 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.128 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.127 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.126 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.125 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.124 tracks/powershell/exercises/hello-world/hello-world.tests.ps1