forked from usabilla/php-docker-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request usabilla#133 from usabilla/improve/pytest
Treat lack of custom markers register
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[pytest] | ||
markers = | ||
php: base php tests, should pass in all flavors | ||
php_no_dev: php tests where only works without dev configurations | ||
php_dev: php tests where only works with dev configurations, i.e.: Xdebug | ||
php_cli: php tests where the sapi is cli (`php_sapi_name()`) | ||
php_fpm: php tests where the sapi is fpm | ||
php_fpm_exec: fpm tests where there is access to the fpm container | ||
nginx: nginx specific tests | ||
nginx_e2e: nginx tests where http calls are made | ||
nginx_fpm_functional: tests where nginx has access to php fpm via fcgi | ||
prometheus_exporter_file_e2e: tests where the nginx prometheus exporter configuration is enabled |