Skip to content

Commit

Permalink
Try to reconcile magento/mtf updates and PHPUnit updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmollenhour authored and tmotyl committed May 18, 2020
1 parent 6eee8a0 commit 8ff94e7
Show file tree
Hide file tree
Showing 267 changed files with 3,277 additions and 1,796 deletions.
1 change: 1 addition & 0 deletions dev/tests/functional/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor
24 changes: 24 additions & 0 deletions dev/tests/functional/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Magento Functional Tests

This suite of tests is based on the abandoned magento/mtf project.

## Install

First, install dependencies using composer:

```sh
docker run --rm -it \
--volume $PWD:/app --volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \
--user $(id -u):$(id -g) \
composer --ignore-platform-reqs install
```

Run tests:

```sh
docker run --rm -it \
--volume $(realpath $PWD/../../../):/app --workdir /app \
php:7.2 \
dev/tests/functional/vendor/phpunit/phpunit/phpunit -c dev/tests/functional \
dev/tests/functional/testsuites/Magento/Mtf/TestSuite/InjectableTests.php
```
Loading

0 comments on commit 8ff94e7

Please sign in to comment.