Closed tripu closed 7 years ago
changed to new label, admin, so that we can keep 'enhancement' for new checker features
i'm ok with the principle. Here are some slightly different suggestions though.
tests/index.php
under www/
and rename to tests.php
tests/*.properties
where they are (with generate.php
, data.php
and non-nfc.php
) so that all test related stuff other than the user visible test.php
is neatly gathered in one clearly labelled place (note that there are no sensitive internal config details in the these files - they just list which tests to run and what the expected outcome is)does that work?
i tried it out in a copy of the i18n-checker directory (ie. moved tests/index.php
to www/test.php
). The only thing i needed to change to make it work was:
in src/class.Test.php
add $fileName = "../tests/".$fileName;
after line 31
@r12a your proposal looks good to me.
:+1:
Closed by @r12a in #70.
tests/
underwww/
, so that tests can be served without additional configuration in the server.tests/*.properties
toconf/
to avoid exposing internal config or details to clients accidentally.h/t @vivienlacourba.