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

Tests #15

Closed
4 of 6 tasks
LukasKalbertodt opened this issue Jul 20, 2018 · 2 comments
Closed
4 of 6 tasks

Tests #15

LukasKalbertodt opened this issue Jul 20, 2018 · 2 comments

Comments

@LukasKalbertodt
Copy link
Member

LukasKalbertodt commented Jul 20, 2018

The current testing situation is not terrible, but it can certainly be improved:

  • More compile-pass tests
  • Make compile-tests more granular
  • Add compile-fail tests
    • Compare actual error message (or code) with expected one (see this comment for some thoughts on this)
  • Make compile-tests and compile-fail tests run with cargo test in the root directory
  • More unit tests
    • Partially blocked by the fact that most functions from proc-macro panic when not inside a real macro invocation (see my comment here)
@LukasKalbertodt LukasKalbertodt added this to the v0.3 milestone Jul 20, 2018
@LukasKalbertodt
Copy link
Member Author

I think I'll tackle (parts of) this next.

@LukasKalbertodt
Copy link
Member Author

Replaced by #55

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