Param(
	[switch] $Verbose
)

If (!$Verbose) {
	$quietFlag = '-quiet'
}
Else {
	$quietFlag = '-appveyor'
}

$dnx = Get-Command dnx

Function Invoke-DnxTests([string] $ProjectName) {
	& $dnx -p ".\test\$ProjectName" test $quietFlag
}

Invoke-DnxTests -ProjectName HTTPlease.Core.Tests
Invoke-DnxTests -ProjectName HTTPlease.Formaters.Tests

Param(
	[switch] $Verbose
)

If (!$Verbose) {
	$quietFlag = '-quiet'
}
Else {
	$quietFlag = '-appveyor'
}

$dnx = Get-Command dnx

Function Invoke-DnxTests([string] $ProjectName) {
	& $dnx -p ".\test\$ProjectName" test $quietFlag
}

Invoke-DnxTests -ProjectName HTTPlease.Core.Tests
Invoke-DnxTests -ProjectName HTTPlease.Formatters.Tests

Fix typo in test project name.
Fix typo in test project name.
