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

Closes #2536: alignment_test.py Conversion for new test framework #2569

Merged

Conversation

TheOddCzar789
Copy link
Contributor

This PR (Closes #2536):

  • Implements pytest
  • Adds parameterization to some of the tests

PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/alignment_test.py Show resolved Hide resolved
Copy link
Contributor

@Ethan-DeBandi99 Ethan-DeBandi99 left a comment

Choose a reason for hiding this comment

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

Overall looks good. There are 2 spots it looks like we are doing the same generation to set up the test. I think it would be best to pull this out into a helper function and call it in both locations. Also, I think we need to add an issue for other work to complete on this later.

PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/alignment_test.py Show resolved Hide resolved
Copy link
Member

@stress-tess stress-tess left a comment

Choose a reason for hiding this comment

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

All small stuff, this is about ready

PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
PROTO_tests/tests/alignment_test.py Outdated Show resolved Hide resolved
Copy link
Contributor

@jaketrookman jaketrookman left a comment

Choose a reason for hiding this comment

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

Besides the small changes, looks good

@TheOddCzar789 TheOddCzar789 changed the title Closes #2536: alignment_test.py Conversion for new test framework Closes #2536: alignment_test.py Conversion for new test framework Jul 19, 2023
Copy link
Contributor

@Ethan-DeBandi99 Ethan-DeBandi99 left a comment

Choose a reason for hiding this comment

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

No additional issues, one thing that could be moved, not imperative to do before merge.

PROTO_tests/tests/alignment_test.py Show resolved Hide resolved
Copy link
Member

@stress-tess stress-tess left a comment

Choose a reason for hiding this comment

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

Looks good!

@Ethan-DeBandi99 Ethan-DeBandi99 added this pull request to the merge queue Jul 20, 2023
Merged via the queue into Bears-R-Us:master with commit d0fb4d8 Jul 20, 2023
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.

alignment_test.py Conversion for new test framework
4 participants