From f247a335ecc0ab1db993f2fc7dc02f49b8549909 Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Thu, 23 Aug 2018 01:41:41 +0300 Subject: [PATCH] unittest enabled, toolkit installed --- composer.json | 5 ++++- phpunit.xml | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 phpunit.xml diff --git a/composer.json b/composer.json index dc144f3..3b14ebe 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,9 @@ "RouterOS\\": "./src/" } }, + "autoload-dev": { + "psr-4": { "RouterOS\\Tests\\": "./tests/" } + }, "authors": [ { "name": "Paul Rock", @@ -27,6 +30,6 @@ "ext-sockets": "*" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^7.0" } } diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..f01c06b --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,21 @@ + + + + + ./tests/ + + + + + ./src/ + + +