Skip to content
New issue

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

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

Already on GitHub? # to your account

Refactoring: move test-case macro to separate subcrate #96

Merged
merged 10 commits into from
Apr 25, 2022

Conversation

luke-biel
Copy link
Collaborator

This PR consists of:

  • moving current test-case crate to subdir crates/test-case-macros
  • splitting acceptance tests from 4 to 13 subgroups
  • allowing case as legal test_case attribute name

output.into()
}
pub use test_case_macros::test_case;
pub use test_case_macros::test_case as case;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I follow why this alias has been made

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we may consider adding this as test_case is reserved by custom_test_frameworks and may induce some issues and confusion in the future. But in reality, right now it's just an extra option.

@luke-biel luke-biel merged commit 8d3001d into master Apr 25, 2022
@luke-biel luke-biel deleted the luke-biel/crate-restructure branch April 25, 2022 13:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants