Always add the filename in build_file_run_args and build_line_run_args to prevent running too many tests that match in other files.
Fix --testNamePattern for parameterised tests and describes (test.each, describe.each)
Fix construction of --testNamePattern to properly match describe with or without nested test names. Make the match as narrow as possible to prevent selecting too many tests.
I would have loved to add unit tests for the test selection logic but I saw that there is no infrastructure for it yet and I am not savvy enough with nvim/lua to add the infrastructure.
build_file_run_args
andbuild_line_run_args
to prevent running too many tests that match in other files.--testNamePattern
for parameterised tests and describes (test.each
,describe.each
)--testNamePattern
to properly match describe with or without nested test names. Make the match as narrow as possible to prevent selecting too many tests.I would have loved to add unit tests for the test selection logic but I saw that there is no infrastructure for it yet and I am not savvy enough with nvim/lua to add the infrastructure.