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

Create tests.yaml and an accompanying test suite #1595

Merged
merged 18 commits into from May 24, 2023
Merged

Conversation

ysthakur
Copy link
Member

@ysthakur ysthakur commented Feb 8, 2023

Putting tests in a tests.yaml will let HN get examples for free, and I guess it'll be more concise than what we have now. This PR adds a YamlTests test suite, but that needs some work, so this is only a draft for now.

@ysthakur ysthakur marked this pull request as ready for review March 20, 2023 23:44
@lyxal lyxal added version-3 For issues relating to Vyxal 3 PR: Version 3 Related and removed version-3 For issues relating to Vyxal 3 labels Mar 21, 2023
lyxal
lyxal previously approved these changes Mar 25, 2023
@ysthakur ysthakur marked this pull request as draft March 25, 2023 22:54
@ysthakur
Copy link
Member Author

Converting to draft since it's got an approval and I don't want to accidentally merge it

@nayakrujul nayakrujul requested a review from lyxal May 1, 2023 13:15
@ysthakur ysthakur marked this pull request as ready for review May 24, 2023 21:14
@ysthakur ysthakur dismissed lyxal’s stale review May 24, 2023 21:15

Lots of changes since then

@ysthakur
Copy link
Member Author

We might want to have a way for entire test groups to specify custom code to be run, rather than individual tests. Not sure how useful that'd be, though, so maybe we can wait for a use case to arise before actually implementing it.

@lyxal
Copy link
Member

lyxal commented May 24, 2023

We might want to have a way for entire test groups to specify custom code to be run, rather than individual tests. Not sure how useful that'd be, though, so maybe we can wait for a use case to arise before actually implementing it.

Feel like that'd be better as just using a testing class. The yaml should be for data in data out tests imo

@ysthakur ysthakur added this pull request to the merge queue May 24, 2023
Merged via the queue into version-3 with commit 336802e May 24, 2023
5 of 6 checks passed
@ysthakur ysthakur deleted the v3-tests-yaml branch May 24, 2023 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants