1
0
mirror of https://github.com/flarum/core.git synced 2025-09-02 20:52:45 +02:00

Add integration tests (#66)

This commit is contained in:
Sami Mazouz
2021-04-13 22:27:42 +01:00
committed by GitHub
parent cd3934e358
commit 057517688c
11 changed files with 584 additions and 2 deletions

View File

@@ -2,7 +2,9 @@
"name": "flarum/mentions",
"description": "Mention and reply to specific posts and users.",
"type": "flarum-extension",
"keywords": ["discussion"],
"keywords": [
"discussion"
],
"license": "MIT",
"support": {
"issues": "https://github.com/flarum/core/issues",
@@ -37,5 +39,24 @@
"color": "#fff"
}
}
},
"scripts": {
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "phpunit -c tests/phpunit.unit.xml",
"test:integration": "phpunit -c tests/phpunit.integration.xml",
"test:setup": "@php tests/integration/setup.php"
},
"scripts-descriptions": {
"test": "Runs all tests.",
"test:unit": "Runs all unit tests.",
"test:integration": "Runs all integration tests.",
"test:setup": "Sets up a database for use with integration tests. Execute this only once."
},
"require-dev": {
"flarum/core": "0.1.x-dev",
"flarum/testing": "^0.1.0-beta.16"
}
}