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

Cleanup tests restructure #303

Merged
merged 4 commits into from Nov 7, 2023
Merged

Cleanup tests restructure #303

merged 4 commits into from Nov 7, 2023

Conversation

DonBraulio
Copy link
Collaborator

  • Remove some folders that don't make sense after tests restucture completed.
  • Update create_operator.py to the new tests format.

Copy link

github-actions bot commented Nov 2, 2023

Coverage report

Main: 91.10% | PR: 91.10% | Diff: 0.00 ✅

@google google deleted a comment from github-actions bot Nov 6, 2023
@google google deleted a comment from github-actions bot Nov 6, 2023
@google google deleted a comment from github-actions bot Nov 6, 2023
Copy link
Collaborator

@ianspektor ianspektor left a comment

Choose a reason for hiding this comment

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

Thanks!

Comment on lines +299 to +302
@parameterized.parameters(
{{"in_timestamps": [0.0, 1.0], "out_timestamps": [0.0, 1.0]}},
{{"in_timestmaps": [1.0, 2.0], "out_timestamps": [1.0, 2.0]}},
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the most probable scenario is not using parameterized rather than using it? I'd leave it out of the template (and maybe add a commented line with the import or a sentence nudging the developer towards using it if needed?)

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 think it's a positive thing to induce ourselves to use parametrized tests, since you tend to add more test cases and edge cases. Also, the effort to remove this is negligible. Don't you agree?

@DonBraulio DonBraulio merged commit c1c7e5c into main Nov 7, 2023
20 checks passed
@DonBraulio DonBraulio deleted the cleanup-tests-restructure branch November 7, 2023 16:29
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.

None yet

2 participants