Closed (fixed)
Project:
DrupalCI: Test Runner
Component:
Testrunner Codebase
Priority:
Normal
Category:
Plan
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2018 at 13:38 UTC
Updated:
11 Apr 2018 at 00:34 UTC
Jump to comment: Most recent
There's a lot of configuration keys that rightfully should not be configurable, and there are several plugin names and configuration values that could use better names.
Right now is probably the best time to affect these things as once its released and in use, we'll have a much harder time swapping them around without concerning ourselves with BC.
Which, btw, we should *probably* include some mechanism for versioning drupalci.yml files before we cant.
Should probably make that just like docker-compose.yml files do, which is a key at the top of the file:
version: 1
simpletest plugin to run_tests to make it clear that its coupled to that script.die-on-nonzero/die-on-fail/fail-should-terminate/sniff-fails-test/lint-fails-test -> make all of these options consistent. Pretty much the same concept throughout. If a plugin fails, should it stop the build, or keep processing.executable-path in container_composer : this should just be a variable inside of the plugin, not a configuration option.start-directory / installed-paths in phpcs plugin - also things that nobody should need to change, and that we should be able to derive from the build.
Comments
Comment #2
mile23Comment #6
Mixologicsimpletest and simpletest_d7 plugins are now run_tests and run_tests_d7 plugins, with an empty proxy plugin that extends the run-tests plugins as a BC layer for six or so months after deployment.
the
simpletest.ymlandsimpletestlegacy7.ymljobs have been renamed after assessment targets, namely 'development' and 'legacydevelopment'The die-on-nonzero/etc list are all now standardized on 'halt-on-fail' (except 'die-on-fail', which is actually a run-tests.sh option)
The container_composer now has a property on the Composer class for the executable. This isn't something we really need to change all that often, so not even really sure it needs to be a variable, but it wont hurt so there it is.
So, that leaves the start-directory and installed-paths for phpcs.
Those are a little more complicated, so Im going to open up an child issue for those. #2956394: Cleanup config options in phpcs plugin
Comment #7
mile23Noticed this in a couple places...
Otherwise, looks great. run_tests is much better than simpletest.
Comment #12
MixologicWell heyo.. all the tests here pass. probabaly going to wait on this to deploy, however. Big things afoot tomorrow that makes me not want to take any additional risk until the smoke clears