Skip to content

Conversation

@Xenira
Copy link
Member

@Xenira Xenira commented Jul 19, 2025

Fixes: #530

Description

This allows us to test macro expansion by:

  1. calling cargo expand on the test files and comparing the output
  2. Expanding the macros at runtime to get coverage

Checklist

Check the boxes that apply (put an x in the brackets, like [x]). You can also check boxes after the PR is created.

❤️ Thank you for your contribution!

@Xenira Xenira linked an issue Jul 19, 2025 that may be closed by this pull request
1 task
@Xenira Xenira force-pushed the 530-add-test-harness-for-macro-crate branch 3 times, most recently from 170a1f9 to ea62ec0 Compare July 19, 2025 23:20
@coveralls
Copy link

Pull Request Test Coverage Report for Build 16393729291

Details

  • 5 of 43 (11.63%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.0%) to 25.766%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/macros/src/lib.rs 5 43 11.63%
Totals Coverage Status
Change from base Build 16392821488: 1.0%
Covered Lines: 992
Relevant Lines: 3850

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jul 19, 2025

Pull Request Test Coverage Report for Build 16393951015

Details

  • 5 of 43 (11.63%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.0%) to 25.766%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/macros/src/lib.rs 5 43 11.63%
Totals Coverage Status
Change from base Build 16392821488: 1.0%
Covered Lines: 992
Relevant Lines: 3850

💛 - Coveralls

@Xenira Xenira force-pushed the 530-add-test-harness-for-macro-crate branch 3 times, most recently from ba65a01 to 2322d95 Compare July 19, 2025 23:36
@Xenira Xenira force-pushed the 530-add-test-harness-for-macro-crate branch from 2322d95 to 23a565d Compare July 19, 2025 23:52
@Xenira Xenira merged commit f4a7bd4 into master Jul 20, 2025
57 checks passed
@Xenira Xenira deleted the 530-add-test-harness-for-macro-crate branch July 20, 2025 00:09
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

Successfully merging this pull request may close these issues.

Add test harness for macro crate

3 participants