exercism / go-test-runner

GNU Affero General Public License v3.0
15 stars 17 forks source link

Test code extraction for exercises with separate file for test cases #107

Open meoconbatu opened 11 months ago

meoconbatu commented 11 months ago

Fixes https://github.com/exercism/go-test-runner/issues/80

This commit also supports arbitrary test data variable name when test function includes multiple assignments.

Recreate the PR from @junedev suggestion in https://github.com/exercism/go-test-runner/pull/105#issuecomment-1737833876

github-actions[bot] commented 11 months ago

Hello. Thanks for opening a PR on Exercism. We are currently in a phase of our journey where we have paused community contributions to allow us to take a breather and redesign our community model. You can learn more in this blog post. As such, all issues and PRs in this repository are being automatically closed.

That doesn't mean we're not interested in your ideas, or that if you're stuck on something we don't want to help. The best place to discuss things is with our community on the Exercism Community Forum. You can use this link to copy this into a new topic there.


Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it.

junedev commented 9 months ago

@ErikSchierboom This should be good to go. I will do some more testing but would be good if you can stamp it.

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 6526488725

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
testrunner/ast.go 38 78 48.72%
<!-- Total: 39 79 49.37% -->
Totals Coverage Status
Change from base Build 5829675059: -3.0%
Covered Lines: 437
Relevant Lines: 695

💛 - Coveralls