ci/testing work: categorize tests via phpunit @group tags

This commit is contained in:
odain
2021-02-04 15:07:44 +01:00
parent 54f8ef924f
commit d7c7ef8332
22 changed files with 49 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ use OqlInterpreter;
use utils;
/**
* @group itopStructure
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
* @backupGlobals disabled
@@ -46,6 +47,9 @@ class OQLTest extends ItopDataTestCase
}
/**
* @group iTopChangeMgt
* @group itopConfigMgmt
* @group itopRequestMgmt
* @dataProvider NestedQueryProvider
*
* @param $sQuery
@@ -74,6 +78,7 @@ class OQLTest extends ItopDataTestCase
}
/**
* @group itopRequestMgmt
* @dataProvider GoodQueryProvider
* @depends testOQLSetup
*
@@ -213,6 +218,7 @@ class OQLTest extends ItopDataTestCase
}
/**
* @group itopRequestMgmt
* Needs actual datamodel
* @depends testOQLSetup
*
@@ -363,6 +369,9 @@ class OQLTest extends ItopDataTestCase
}
/**
* @group iTopChangeMgt
* @group itopConfigMgmt
* @group itopRequestMgmt
* @dataProvider MakeSelectQueryProvider
* @param $sOQL
* @param $sExpectedExceptionClass