Commit Graph

9 Commits

Author SHA1 Message Date
Hugo Sales eb3c848fc8
[TOOLS][TESTS] Ensure database schema is up to date in tests 2022-03-13 14:22:18 +00:00
Hugo Sales 8433771465
[TOOLING][TESTS] Allow specifying any phpunit flag when invoking make
Examples:
  make test -- --filter 'method'
  make test -- directory
2022-03-10 01:23:36 +00:00
Hugo Sales 316723075b
[TESTS] Reload the initial table values after loading the data fixtures (as this purges the DB) 2021-11-11 12:39:36 +00:00
Hugo Sales 420ebcda26
[TESTS] Run tests without runuser as it's generating very weird permission errors. This is temporary (TM) 2021-11-11 12:38:09 +00:00
Hugo Sales 98b1b7072c
[TOOLS] Fix running tests without filters 2021-11-09 23:38:37 +00:00
Hugo Sales 8238980395
[TOOLS] Allow specifying a list of filters when running tests with `make`. When running `make test foobar` only the test `foobar` is executed (read the documentation for `phpunit --filter`) 2021-10-28 17:24:43 +01:00
Hugo Sales 1f3a6fe6ac
[TESTS] Fix and/or temporarily disable failing tests. We'll get back to this 2021-09-14 13:36:30 +01:00
Hugo Sales 1adde913c6
[PHPStan] Only run custom PHPStan extensions if environment vairable PHPSTAN_BOOT_KERNEL is defined (since it requires having the whole social setup available) 2021-09-14 13:13:45 +01:00
Hugo Sales 9d7f43cd28
[TOOLS][PHPStan][TESTS][Docker] Rework testing Docker container into a more generic tooling container. Keep services up and run coverage and phpstan as commands, for performance and ease of use 2021-09-14 13:13:44 +01:00