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

Validation for Kickoff Test Play #2809

Open
1 of 2 tasks
PhilD71 opened this issue Jan 20, 2023 · 0 comments · May be fixed by #3123
Open
1 of 2 tasks

Validation for Kickoff Test Play #2809

PhilD71 opened this issue Jan 20, 2023 · 0 comments · May be fixed by #3123
Assignees

Comments

@PhilD71
Copy link
Contributor

PhilD71 commented Jan 20, 2023

Description of the task

Kickoff Test Play needs validation from both the perspective of a "friendly kickoff" and "enemy kickoff". To avoid writing the same test template twice, the same test can be re-ran, except using the pytest parametrize feature to control which team is being validated. An example is shown below:

@pytest.mark.parametrize("is_friendly_test", [True, False])
def test_kickoff_play(simulated_test_runner, is_friendly_test):
# write test here...

Acceptance criteria

  • There is validation written for both enemy and friendly kickoff play tests
  • Tests are deterministic and passing

Blocked By

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 a pull request may close this issue.

2 participants