Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Apr 26, 2021

Tests should use the parameter() built-in instead.

Fixes #1833.

I don't know if we should change also the @simple_test name to something else. And if we do, do we deprecate it from now? Or should we better deprecate @simple_test in 4.0 and remove it in 5.x?

Copy link
Contributor

@ekouts ekouts left a comment

Choose a reason for hiding this comment

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

Looks fine to me. If we change the name from simple_test to frm_test I would deprecate in 4.0 and remove in 5.0. But I am not sure it's worth it, since it will affect literally everyone with old tests.
Should we also update the parameterized tests that use the decorator in cscs-check in a different PR? Or have a missed any open PR about this?

Copy link
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

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

lgtm

@vkarak
Copy link
Contributor Author

vkarak commented Apr 27, 2021

Should we also update the parameterized tests that use the decorator in cscs-check in a different PR? Or have a missed any open PR about this?

This should go in a different PR and be updated in the master branch, not in 4.x.

@vkarak vkarak merged commit 1276baa into reframe-hpc:4.x Apr 27, 2021
@vkarak vkarak deleted the feat/drop-parameterized-test-deco branch April 27, 2021 14:17
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.

Drop the @parameterized_test decorator in favor of the parameter built-in

3 participants