Browse Source

code coverage via sc enabled

tags/0.4
Paul Rock 7 years ago
parent
commit
b2f5f7a44c
  1. 15
      .scrutinizer.yml
  2. 30
      tests/ConfigTest.php

15
.scrutinizer.yml

@ -5,3 +5,18 @@ filter:
excluded_paths:
- "extra/"
- "tests/"
coding_style:
php:
spaces:
around_operators:
concatenation: true
build:
tests:
override:
-
command: 'php ./vendor/bin/phpunit --coverage-clover=coverage-clover'
coverage:
file: 'coverage-clover'
format: 'php-clover'

30
tests/ConfigTest.php

@ -0,0 +1,30 @@
<?php
/**
* Created by PhpStorm.
* User: pasha
* Date: 23.08.18
* Time: 0:43
*/
namespace RouterOS\Tests;
use RouterOS\Config;
class ConfigTest extends \PHPUnit_Framework_TestCase
{
public function testGetParameters()
{
}
public function testSet()
{
}
public function testGet()
{
}
}
Loading…
Cancel
Save