Skip to content

Commit

Permalink
Add test groups
Browse files Browse the repository at this point in the history
  • Loading branch information
dd32 committed Jan 18, 2024
1 parent 76be0ee commit 2c4a40a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/phpunit/tests/export/docblocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/**
* Test that docblocks are exported correctly.
*
* @group export
* @group export-docblocks
*/
class Export_Docblocks extends Export_UnitTestCase {

Expand Down
3 changes: 3 additions & 0 deletions tests/phpunit/tests/export/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/**
* Test that hooks are exported correctly.
*
* @group export
* @group export-hooks
*/
class Export_Hooks extends Export_UnitTestCase {

Expand Down
3 changes: 3 additions & 0 deletions tests/phpunit/tests/export/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/**
* Test that hooks are exported correctly.
*
* @group export
* @group export-namespace
*/
class Export_Namespace extends Export_UnitTestCase {

Expand Down
3 changes: 3 additions & 0 deletions tests/phpunit/tests/export/uses/constructor.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/**
* Test that use of the __construct() method is exported for new Class() statements.
*
* @group export-uses
* @group export-uses-constructor
*/
class Export_Constructor_Use extends Export_UnitTestCase {

Expand Down
3 changes: 3 additions & 0 deletions tests/phpunit/tests/export/uses/methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/**
* Test that method use is exported correctly.
*
* @group export-uses
* @group export-uses-methods
*/
class Export_Method_Use extends Export_UnitTestCase {

Expand Down
3 changes: 3 additions & 0 deletions tests/phpunit/tests/export/uses/nested.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/**
* Test that function use is exported correctly when function declarations are nested.
*
* @group export-uses
* @group export-uses-nested
*/
class Export_Nested_Function_Use extends Export_UnitTestCase {

Expand Down

0 comments on commit 2c4a40a

Please sign in to comment.