From b92e3ca3ee3f8bed1ff52311d29b4ce1e4297a83 Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Wed, 12 Oct 2016 21:50:49 +0200 Subject: [TASK] Restructure tests/ folder. Move unit tests to tests/unit/. Get the old still working UnitTests into a working state again. Updated composer.json with required-dev packages. Create a new folder tests/acceptance for Behat functional/acceptance testing. Add a first Feature draft of a Behat functional test for local login. --- .../acceptance/features/bootstrap/AdminContext.php | 23 ++++++++++++++++++++++ tests/acceptance/features/bootstrap/ApiContext.php | 23 ++++++++++++++++++++++ .../features/bootstrap/FeatureContext.php | 23 ++++++++++++++++++++++ tests/acceptance/features/login_local.feature | 18 +++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 tests/acceptance/features/bootstrap/AdminContext.php create mode 100644 tests/acceptance/features/bootstrap/ApiContext.php create mode 100644 tests/acceptance/features/bootstrap/FeatureContext.php create mode 100644 tests/acceptance/features/login_local.feature (limited to 'tests/acceptance/features') diff --git a/tests/acceptance/features/bootstrap/AdminContext.php b/tests/acceptance/features/bootstrap/AdminContext.php new file mode 100644 index 000000000..aa4dced67 --- /dev/null +++ b/tests/acceptance/features/bootstrap/AdminContext.php @@ -0,0 +1,23 @@ +