changes tags for tests

Start using tags CI, Feature, Scenario
This commit is contained in:
James Truher committed 2016-07-27 12:06:51 -07:00
1 parent 1349372b39
commit 9e225ccae2
145 files changed
+248 -248

No files matched your search

@@ -1,4 +1,4 @@
Describe 'Break statements with classes' -Tags "DRT" {
Describe 'Break statements with classes' -Tags "CI" {
function Get-Errors([string]$sourceCode) {
$tokens = $null
@@ -224,7 +224,7 @@ $canaryHashtable['canary'] += 100
}
}
Describe "Exception error position" -Tags "DRT" {
Describe "Exception error position" -Tags "CI" {
class MSFT_3090412
{
static f1() { [MSFT_3090412]::bar = 42 }
@@ -1,4 +1,4 @@
Describe 'Misc Test' -Tags "innerloop", "DRT" {
Describe 'Misc Test' -Tags "CI" {
Context 'Where' {
class C1 {
@@ -43,4 +43,4 @@ Describe 'Misc Test' -Tags "innerloop", "DRT" {
[C1]::new().Bar() | should be "1;2;3;"
}
}
}
}
@@ -1,11 +1,11 @@
Describe 'PSModuleInfo.GetExportedTypeDefinitions()' {
Describe 'PSModuleInfo.GetExportedTypeDefinitions()' -Tags "CI" {
It "doesn't throw for any module" {
$discard = Get-Module -ListAvailable | % { $_.GetExportedTypeDefinitions() }
$true | Should Be $true # we only verify that we didn't throw. This line contains a dummy Should to make pester happy.
}
}
Describe 'use of a module from two runspaces' {
Describe 'use of a module from two runspaces' -Tags "CI" {
function New-TestModule {
param(
[string]$Name,
@@ -1,4 +1,4 @@
Describe 'NestedModules' -Tags "DRT" {
Describe 'NestedModules' -Tags "CI" {
Import-Module $PSScriptRoot\..\LanguageTestSupport.psm1
@@ -4,7 +4,7 @@
Import-Module $PSScriptRoot\..\LanguageTestSupport.psm1
Describe 'Classes inheritance syntax' -Tags "DRT" {
Describe 'Classes inheritance syntax' -Tags "CI" {
It 'Base types' {
class C1 {}
@@ -2,7 +2,7 @@
# Copyright (c) Microsoft Corporation, 2015
#
Describe 'enums' -Tags "DRT" {
Describe 'enums' -Tags "CI" {
Context 'basic enums' {
enum E1