exercism / nim-test-runner

GNU Affero General Public License v3.0
2 stars 3 forks source link

Refactor: Rename test files, part two #34

Closed ee7 closed 3 years ago

ee7 commented 3 years ago

This PR continues the work of commit cccf1b1 (#28), which only included the changes required to make the smoke test and exercism/nim tests pass.

With this commit, we once again run the remaining tests (those in the tests/{error,fail,pass} folders, which are run by trunner.nim).

The below shows all files tracked by git that contain "test" but not "tests". I have verified that the output does not contain _test.nim.

$ git ls-files | grep -Ei "test[^s]"
nim_test_runner.nimble
src/unittest_json.nim
tests/error/compiletime_crash_in_solution/test_identity.nim
tests/error/compiletime_error_closing_quote_expected/test_hello_world.nim
tests/error/compiletime_error_empty_solution/test_identity.nim
tests/error/compiletime_error_type_mismatch_in_test/expected_results.json
tests/error/compiletime_error_type_mismatch_in_test/identity.nim
tests/error/compiletime_error_type_mismatch_in_test/test_identity.nim
tests/error/compiletime_error_undeclared_variable_in_solution/test_identity.nim
tests/error/compiletime_exception_in_solution/test_identity.nim
tests/error/runtime_exception_in_solution/test_identity.nim
tests/fail/multiple_tests_all_fail/test_identity.nim
tests/fail/multiple_tests_multiple_fails/test_identity.nim
tests/fail/multiple_tests_one_fail_first/test_identity.nim
tests/fail/multiple_tests_one_fail_last/test_identity.nim
tests/fail/multiple_tests_one_fail_middle/test_identity.nim
tests/fail/single_test/expected_results.json
tests/fail/single_test/identity.nim
tests/fail/single_test/test_identity.nim
tests/pass/multiple_tests/test_identity.nim
tests/pass/single_test/expected_results.json
tests/pass/single_test/expected_test_hello_world_prepared.nim
tests/pass/single_test/hello_world.nim
tests/pass/single_test/test_hello_world.nim