Skip to content

Commit

Permalink
Test: add testing with atoum
Browse files Browse the repository at this point in the history
  • Loading branch information
Rusty committed Mar 18, 2020
1 parent 5730276 commit 4008c58
Show file tree
Hide file tree
Showing 4 changed files with 628 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .atoum.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

use mageekguy\atoum\reports;
use mageekguy\atoum\reports\coverage;
use mageekguy\atoum\writers\std;

$script->bootstrapFile(__DIR__ . DIRECTORY_SEPARATOR . 'tests/bootstrap.php');

// $extension = new reports\extension($script);
// $extension->addToRunner($runner);

// $script->addDefaultReport();

// $coverage = new coverage\html();
// $coverage->addWriter(new std\out());
// $coverage->setOutPutDirectory(__DIR__ . '/tests');

// $runner->addReport($coverage);
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@
"support": {
"forum": "https://forum.alldebrid.com/",
"docs": "https://docs.alldebrid.com"
},
"require-dev": {
"atoum/atoum": "^3.4",
"atoum/reports-extension": "^3.0"
}
}
}
3 changes: 3 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

require_once __DIR__ . '/../vendor/autoload.php';
Loading

0 comments on commit 4008c58

Please sign in to comment.