Skip to content

Commit 3d38253

Browse files
Improve documentation.
1 parent f7a03b8 commit 3d38253

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ class RoboFile extends \Robo\Tasks {
3535

3636
public function taskSplitTests(): \Robo\Result
3737
{
38-
return $this->taskSplitTestsByTime(
39-
3,
40-
'_data/time_report.json'
41-
)
38+
$groups = 3;
39+
$timeReportLocation = '_data/time_report.json';
40+
return $this->taskSplitTestsByTime($groups, $timeReportLocation)
4241
->projectRoot('.')
4342
->testsFrom('tests')
4443
->groupsTo('tests/_data/timekeeper/group_')

src/TimeSplitterTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class TimeSplitterTask extends BaseTask
3030
/**
3131
* @var string The filename pattern under which groups will be saved.
3232
*/
33-
private $groupOutputLoc = '_data/timekeeper/group_';
33+
private $groupOutputLoc = 'tests/_data/timekeeper/group_';
3434

3535
/**
3636
* @var string The directory that holds test files.

0 commit comments

Comments
 (0)