refs #17714 [master] use inheritance for searchspecs.yaml
* prepare testing directory structure for yaml comparism ** add fixtures in same order as config files ** use symlinks for real configs ** use result searchspecs for old outcome before refactoring * fix finc test setup for docker * add finc SearchSpecsReaderTest ** run: docker exec -it [php container] sh -c "vendor/bin/phpunit --configuration module/finc/tests/phpunit.xml module/finc/tests/unit-tests/src/fincTest/Config/SearchSpecsReaderTest.php" [--filter testParentYaml]" * in local searchspecs.yaml ** use vufind as parent and keep only delta * in local alpha searchspecs.yaml ** use local as parent, no delta * use autoconfig version 2.3.3, see also https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/autoconfig/-/commit/7b396da68c63820c869d45ca655d70d77b417aef * add env var for local searchspecs.yaml in docker-env.0.finc.yml
Showing
- devops/docker/autoconfig/entrypoint.sh 1 addition, 1 deletiondevops/docker/autoconfig/entrypoint.sh
- docker-env.0.finc.yml 2 additions, 0 deletionsdocker-env.0.finc.yml
- local/alpha/config/vufind/searchspecs.yaml 1 addition, 778 deletionslocal/alpha/config/vufind/searchspecs.yaml
- local/config/vufind/searchspecs.yaml 4 additions, 137 deletionslocal/config/vufind/searchspecs.yaml
- module/finc/tests/bootstrap.php 3 additions, 2 deletionsmodule/finc/tests/bootstrap.php
- module/finc/tests/fixtures/configs/yaml/searchspecs/config/vufind/searchspecs.yaml 1 addition, 0 deletions...s/configs/yaml/searchspecs/config/vufind/searchspecs.yaml
- module/finc/tests/fixtures/configs/yaml/searchspecs/local/alpha/config/vufind/searchspecs.yaml 1 addition, 0 deletions...ml/searchspecs/local/alpha/config/vufind/searchspecs.yaml
- module/finc/tests/fixtures/configs/yaml/searchspecs/local/config/vufind/searchspecs.yaml 1 addition, 0 deletions...igs/yaml/searchspecs/local/config/vufind/searchspecs.yaml
- module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/alpha/searchspecs.yaml 501 additions, 0 deletions...figs/yaml/searchspecs/result/local/alpha/searchspecs.yaml
- module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/searchspecs.yaml 501 additions, 0 deletions...es/configs/yaml/searchspecs/result/local/searchspecs.yaml
- module/finc/tests/phpunit.xml 8 additions, 0 deletionsmodule/finc/tests/phpunit.xml
- module/finc/tests/unit-tests/src/fincTest/Config/SearchSpecsReaderTest.php 133 additions, 0 deletions.../unit-tests/src/fincTest/Config/SearchSpecsReaderTest.php
Please register or sign in to comment