Skip to content

A free open source IT asset/license management system

Added codeception testing modules for —dev

snipec5e587f33b7e
diff --git a/composer.json b/composer.json
index 6eac009195..ece7ee9cb5 100644
--- a/composer.json
+++ b/composer.json
@@ -61,6 +61,8 @@
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.2",
"codeception/module-laravel5": "^1.1",
+ "codeception/module-rest": "^1.2",
+ "codeception/module-webdriver": "^1.0",
"fzaninotto/faker": "^1.9",
"phpunit/php-token-stream": "^3.1",
"phpunit/phpunit": "^8.5",
diff --git a/composer.lock b/composer.lock
index 6f3d7f278e..7370e7a6af 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "8be1f8567a455103ed5e1f0a14314108",
+ "content-hash": "693916c94ecc3dc06b80b9f83d65e4cb",
"packages": [
{
"name": "adldap2/adldap2",
@@ -8003,6 +8003,112 @@
],
"time": "2020-03-28T14:59:53+00:00"
},
+ {
+ "name": "codeception/module-rest",
+ "version": "1.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Codeception/module-rest.git",
+ "reference": "c86417af517bb1fb5b88550455d823a7c9fc167e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Codeception/module-rest/zipball/c86417af517bb1fb5b88550455d823a7c9fc167e",
+ "reference": "c86417af517bb1fb5b88550455d823a7c9fc167e",
+ "shasum": ""
+ },
+ "require": {
+ "codeception/codeception": "^4.0",
+ "flow/jsonpath": "^0.5",
+ "justinrainbow/json-schema": "^5.2.9",
+ "php": ">=5.6.0 <8.0"
+ },
+ "require-dev": {
+ "codeception/lib-innerbrowser": "^1.0",
+ "codeception/util-robohelpers": "dev-master",
+ "codeception/util-universalframework": "^1.0"
+ },
+ "suggest": {
+ "aws/aws-sdk-php": "For using AWS Auth"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Gintautas Miselis"
+ }
+ ],
+ "description": "REST module for Codeception",
+ "homepage": "http://codeception.com/",
+ "keywords": [
+ "codeception",
+ "rest"
+ ],
+ "time": "2020-02-01T19:23:56+00:00"
+ },
+ {
+ "name": "codeception/module-webdriver",
+ "version": "1.0.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Codeception/module-webdriver.git",
+ "reference": "f05c5c25e39d10fbfb2d508779e1537df019ff9b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Codeception/module-webdriver/zipball/f05c5c25e39d10fbfb2d508779e1537df019ff9b",
+ "reference": "f05c5c25e39d10fbfb2d508779e1537df019ff9b",
+ "shasum": ""
+ },
+ "require": {
+ "codeception/codeception": "^4.0",
+ "php": ">=5.6.0 <8.0",
+ "php-webdriver/webdriver": "^1.6.0"
+ },
+ "require-dev": {
+ "codeception/util-robohelpers": "dev-master"
+ },
+ "suggest": {
+ "codeception/phpbuiltinserver": "Start and stop PHP built-in web server for your tests"
+ },
+ "type": "library",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Bodnarchuk"
+ },
+ {
+ "name": "Gintautas Miselis"
+ },
+ {
+ "name": "Zaahid Bateson"
+ }
+ ],
+ "description": "WebDriver module for Codeception",
+ "homepage": "http://codeception.com/",
+ "keywords": [
+ "acceptance-testing",
+ "browser-testing",
+ "codeception"
+ ],
+ "time": "2020-04-01T10:18:18+00:00"
+ },
{
"name": "codeception/phpunit-wrapper",
"version": "8.1.2",
@@ -8077,6 +8183,47 @@
"description": "Flexible Stub wrapper for PHPUnit's Mock Builder",
"time": "2020-02-07T18:42:28+00:00"
},
+ {
+ "name": "flow/jsonpath",
+ "version": "0.5.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/FlowCommunications/JSONPath.git",
+ "reference": "b9738858c75d008c1211612b973e9510f8b7f8ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/FlowCommunications/JSONPath/zipball/b9738858c75d008c1211612b973e9510f8b7f8ea",
+ "reference": "b9738858c75d008c1211612b973e9510f8b7f8ea",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4.0"
+ },
+ "require-dev": {
+ "peekmo/jsonpath": "dev-master",
+ "phpunit/phpunit": "^7.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Flow\\JSONPath": "src/",
+ "Flow\\JSONPath\\Test": "tests/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Stephen Frank",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "JSONPath implementation for parsing, searching and flattening arrays",
+ "time": "2019-07-15T17:23:22+00:00"
+ },
{
"name": "fzaninotto/faker",
"version": "v1.9.1",
@@ -8127,6 +8274,72 @@
],
"time": "2019-12-12T13:22:17+00:00"
},
+ {
+ "name": "justinrainbow/json-schema",
+ "version": "5.2.9",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/justinrainbow/json-schema.git",
+ "reference": "44c6787311242a979fa15c704327c20e7221a0e4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/44c6787311242a979fa15c704327c20e7221a0e4",
+ "reference": "44c6787311242a979fa15c704327c20e7221a0e4",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1",
+ "json-schema/json-schema-test-suite": "1.2.0",
+ "phpunit/phpunit": "^4.8.35"
+ },
+ "bin": [
+ "bin/validate-json"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "JsonSchema\\": "src/JsonSchema/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Bruno Prieto Reis",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Justin Rainbow",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Igor Wiedler",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Robert Schönthal",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "A library to validate a json schema.",
+ "homepage": "https://github.com/justinrainbow/json-schema",
+ "keywords": [
+ "json",
+ "schema"
+ ],
+ "time": "2019-09-25T14:49:45+00:00"
+ },
{
"name": "myclabs/deep-copy",
"version": "1.9.5",
@@ -8277,6 +8490,71 @@
"description": "Library for handling version information and constraints",
"time": "2018-07-08T19:19:57+00:00"
},
+ {
+ "name": "php-webdriver/webdriver",
+ "version": "1.8.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-webdriver/php-webdriver.git",
+ "reference": "3308a70be084d6d7fd1ee5787b4c2e6eb4b70aab"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/3308a70be084d6d7fd1ee5787b4c2e6eb4b70aab",
+ "reference": "3308a70be084d6d7fd1ee5787b4c2e6eb4b70aab",
+ "shasum": ""
+ },
+ "require": {
+ "ext-curl": "*",
+ "ext-json": "*",
+ "ext-zip": "*",
+ "php": "^5.6 || ~7.0",
+ "symfony/polyfill-mbstring": "^1.12",
+ "symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^2.0",
+ "jakub-onderka/php-parallel-lint": "^1.0",
+ "php-coveralls/php-coveralls": "^2.0",
+ "php-mock/php-mock-phpunit": "^1.1",
+ "phpunit/phpunit": "^5.7",
+ "sebastian/environment": "^1.3.4 || ^2.0 || ^3.0",
+ "sminnee/phpunit-mock-objects": "^3.4",
+ "squizlabs/php_codesniffer": "^3.5",
+ "symfony/var-dumper": "^3.3 || ^4.0 || ^5.0"
+ },
+ "suggest": {
+ "ext-SimpleXML": "For Firefox profile creation"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.8.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Facebook\\WebDriver\\": "lib/"
+ },
+ "files": [
+ "lib/Exception/TimeoutException.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "A PHP client for Selenium WebDriver. Previously facebook/webdriver.",
+ "homepage": "https://github.com/php-webdriver/php-webdriver",
+ "keywords": [
+ "Chromedriver",
+ "geckodriver",
+ "php",
+ "selenium",
+ "webdriver"
+ ],
+ "time": "2020-03-04T14:40:12+00:00"
+ },
{
"name": "phpunit/php-code-coverage",
"version": "7.0.10",