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

Added function scope test to python #2325

Merged
merged 3 commits into from
May 12, 2024
Merged

Added function scope test to python #2325

merged 3 commits into from
May 12, 2024

Conversation

AndreasArvidsson
Copy link
Member

Checklist

  • I have added tests
  • [/] I have updated the docs and cheatsheet
  • [/] I have not broken the cheatsheet

@AndreasArvidsson AndreasArvidsson requested a review from pokey as a code owner May 11, 2024 12:55
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

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

Nice. Do we want to remove corresponding recorded tests? Seems redundant to have recorded and scope testing the same thing

@AndreasArvidsson
Copy link
Member Author

Maybe?

@pokey
Copy link
Member

pokey commented May 12, 2024

Why wouldn't we?

@AndreasArvidsson
Copy link
Member Author

I was just thinking that our tests might test different syntax patterns, but I'm not against removing them.

@pokey
Copy link
Member

pokey commented May 12, 2024

I think the idea should be for our scope tests to cover what our recorded tests used to cover. Maybe we should migrate one scope-language pair at a time? Ie for this PR we look at what recorded tests we have for Python lambda and function, add scope tests that are at least as comprehensive, and remove the recorded tests?

It's a bit more work, but would be nice to get our test suite a bit more principled

@AndreasArvidsson
Copy link
Member Author

Sounds good. Tests updated.

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

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

🚀

@pokey pokey added this pull request to the merge queue May 12, 2024
Merged via the queue into main with commit bccc6d8 May 12, 2024
15 checks passed
@pokey pokey deleted the interior branch May 12, 2024 12:28
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