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

rewrite test to be closer to scalac production environment by using utest compileError #83

Closed
tribbloid opened this issue Dec 13, 2021 · 3 comments

Comments

@tribbloid
Copy link
Collaborator

https://github.com/com-lihaoyi/utest#compile-error

Existing splain tests in scalac uses partest framework which invoke scalac directly (instead of scala reflect Toolbox). We should strive to do the same.

I have created a new acceptance submodule, we can gradually move our existing tests to be under it

@tribbloid
Copy link
Collaborator Author

blocked by com-lihaoyi/utest#258

Wondering if other libraries are doing similar thing

@tribbloid
Copy link
Collaborator Author

so far, no response, but I end up using scala nsc in runtime, the result seems to be quite similar to what partest is using. So I don't think it is a problem anymore.

Compile-time tests will be in the "acceptance" module. Will have to either wait for a fix or craft our own tool

@tribbloid
Copy link
Collaborator Author

end up crafting our own tool (TryCompile.Static), acceptance tests is working despite that it only covers a fraction of features, closed

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

No branches or pull requests

1 participant