Closed hrach closed 10 years ago
for testFile.
Yay! I have both! Going investigate! Is there something what I should check?
I'm not sure. This example should create 4 processes and it creates for me. Don't you have a typo in annotation?
; test.ini
[one]
[two]
<?php
/**
* @testCase
* @dataProvider test.ini
*/
use Tester\Assert;
require __DIR__ . '/bootstrap.php';
class MyTest extends Tester\TestCase
{
public function testOne()
{
Assert::true(TRUE);
}
public function testTwo()
{
Assert::true(TRUE);
}
}
(new MyTest)->run();
Please, see this:
and yes, it creates just 2 processes (2 dots)... see https://github.com/nextras/orm/blob/5258e54b6cbab5d15931d198e7373cf70a2555a1/tests/cases/integration/NetteDatabase/relationships.manyHasMany.1.phpt, it has correct annotation.
probably missing something...
Thank you!
Would be very useful when adding
@dataprovider
would still run test methods separately. Or, at least, it could create new testcase instance.