Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage test on rel package #654

Open
nofun97 opened this issue May 20, 2021 · 0 comments
Open

coverage test on rel package #654

nofun97 opened this issue May 20, 2021 · 0 comments

Comments

@nofun97
Copy link
Contributor

nofun97 commented May 20, 2021

Purpose

rel package coverage is very low. This is because most of the test is in the syntax package which depends on the rel package.

Suggested approaches

There's a feature in go where test files can have a different package name by adding _test as a suffix. e.g. package name_test.

This would allow independent import to the rel package and in turn might allow coverage to the rel package through the tests in syntax package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant