-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add first functional tests #153
base: master
Are you sure you want to change the base?
Commits on Sep 6, 2024
-
[BUGFIX] Improve functional test run speed
The XDEBUG variables defined in the docker-compose.yml file command blocks were not used under docker 20.10.24+dfsg1 with docker compose version v2.29.2. This led to the problem that Bootstrap::init took 37 seconds, wasting developer time. By switching to "export" calls, the variables get set properly and php/xdebug runs fast. A single functional test run is 3 seconds now.
Configuration menu - View commit details
-
Copy full SHA for d58b58c - Browse repository at this point
Copy the full SHA d58b58cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81cc9ef - Browse repository at this point
Copy the full SHA 81cc9efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2414337 - Browse repository at this point
Copy the full SHA 2414337View commit details -
Script to prepare minio-data directory
based on the files in Tests/Functional/Bucketfiles/
Configuration menu - View commit details
-
Copy full SHA for cc5c016 - Browse repository at this point
Copy the full SHA cc5c016View commit details -
Created with the Build/testing-docker/prepare-minio-data.sh Committed here so that "mc" (minio client) is not needed to run the tests.
Configuration menu - View commit details
-
Copy full SHA for d0671ba - Browse repository at this point
Copy the full SHA d0671baView commit details -
Prepare minio-data directory when running functional tests
./Build/Scripts/runTests.sh -p 8.2 -d sqlite -s functional -e "--display-warnings --display-notices --display-errors"
Configuration menu - View commit details
-
Copy full SHA for ee2f027 - Browse repository at this point
Copy the full SHA ee2f027View commit details -
We use a local minio instance to run the tests against. Run them with ./Build/Scripts/runTests.sh -p 8.2 -d sqlite -s functional -e "--display-warnings --display-notices --display-errors"
Configuration menu - View commit details
-
Copy full SHA for f83394a - Browse repository at this point
Copy the full SHA f83394aView commit details
Commits on Sep 9, 2024
-
Run functional tests via Github actions
- amend commit to trigger build
Configuration menu - View commit details
-
Copy full SHA for d9fa566 - Browse repository at this point
Copy the full SHA d9fa566View commit details -
Run test with ubuntu 24.04 as base
ubuntu-20.04 brings an error: > Run Build/Scripts/runTests.sh -p 8.0 -s composerInstall > Build/Scripts/runTests.sh: line 107: type: docker-compose: not found > This script relies on docker and docker-compose. Please install
Configuration menu - View commit details
-
Copy full SHA for e437034 - Browse repository at this point
Copy the full SHA e437034View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d0137b - Browse repository at this point
Copy the full SHA 5d0137bView commit details -
.. typo3/testing-framework 8 needs a higher version
Configuration menu - View commit details
-
Copy full SHA for 72871b4 - Browse repository at this point
Copy the full SHA 72871b4View commit details