@@ -, +, @@ --- t/db_dependent/Search.t | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) --- a/t/db_dependent/Search.t +++ a/t/db_dependent/Search.t @@ -12,7 +12,7 @@ use YAML; use C4::Debug; require C4::Context; -use Test::More tests => 212; +use Test::More tests => 4; use Test::MockModule; use MARC::Record; use File::Spec; @@ -836,10 +836,24 @@ sub run_unimarc_search_tests { cleanup(); } -run_marc21_search_tests('grs1'); -run_marc21_search_tests('dom'); - -run_unimarc_search_tests('grs1'); -run_unimarc_search_tests('dom'); +subtest 'MARC21 + GRS-1' => sub { + plan tests => 97; + run_marc21_search_tests('grs1'); +}; + +subtest 'MARC21 + DOM' => sub { + plan tests => 97; + run_marc21_search_tests('dom'); +}; + +subtest 'UNIMARC + GRS-1' => sub { + plan tests => 13; + run_unimarc_search_tests('grs1'); +}; + +subtest 'UNIMARC + DOM' => sub { + plan tests => 13; + run_unimarc_search_tests('dom'); +}; 1; --