Skip to content

Commit c9866f2

Browse files
committed
Created a special testing group
That will black list special tests that are not widely available. This group of functions is in the official TALib but not yet in the PHPTrader extension. They can only be tested by people who build their extension by updating their extension source with the upstream TALib.
1 parent 601870d commit c9866f2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

phpunit.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
<exclude>tests/benchmark</exclude>
2121
</testsuite>
2222
</testsuites>
23+
<groups>
24+
<exclude>
25+
<group>dev_trader</group>
26+
<!-- This group of functions is in the official TALib but not yet in the PHPTrader extension. They can only be tested by people who build their extension by updating their extension source with the upstream TALib. -->
27+
</exclude>
28+
</groups>
2329
<source>
2430
<include>
2531
<directory suffix=".php">./source</directory>

tests/TraderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function testAdOscDefaultsDifferent(): void
5959

6060
/**
6161
* @throws \Exception
62-
* @group exceptions
62+
* @group dev_trader
6363
*/
6464
public function testAccbands(): void
6565
{

0 commit comments

Comments
 (0)