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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user