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.82 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.81 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.80 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.79 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.78 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.77 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.76 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.75 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.74 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.73 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.72 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.71 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.70 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.69 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.68 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.67 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.66 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.65 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.64 tracks/powershell/exercises/hello-world/hello-world.tests.ps1
trackler-2.2.1.63 tracks/powershell/exercises/hello-world/hello-world.tests.ps1