Skip to content

Tests: Use a single executable#2849

Merged
lenemter merged 1 commit into
mainfrom
leolost/single-test-executable
May 17, 2026
Merged

Tests: Use a single executable#2849
lenemter merged 1 commit into
mainfrom
leolost/single-test-executable

Conversation

@leolost2605
Copy link
Copy Markdown
Member

Supersedes and closes #2835

This achieves the same performance boost but makes sure the tests can only be run isolated.
Most notably having the run method an instance method of a test case makes sure of that.

I know that this might be pedantic but the meta context stuff is quite fragile and it took a while to get it working so I think having it with as many guardrails as possible is probably for the better.

@leolost2605
Copy link
Copy Markdown
Member Author

@lenemter what do you think about this?

@leolost2605 leolost2605 requested a review from lenemter May 14, 2026 17:25
@leolost2605 leolost2605 force-pushed the leolost/single-test-executable branch from a7ce263 to 5396096 Compare May 14, 2026 17:25
Copy link
Copy Markdown
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

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

I really like the use of test_case.run! Good job. I left a comment regarding the get_test_case function

Comment thread tests/lib/Main.vala
@leolost2605 leolost2605 force-pushed the leolost/single-test-executable branch from 5396096 to 0f3e975 Compare May 16, 2026 22:33
@leolost2605 leolost2605 requested a review from lenemter May 16, 2026 22:36
@lenemter lenemter merged commit 16c0e56 into main May 17, 2026
6 checks passed
@lenemter lenemter deleted the leolost/single-test-executable branch May 17, 2026 07:06
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.

2 participants