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 parameterized test for spawner.py #1160

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Nils-ChristianIseke
Copy link

Regarding #964.
Replacement of pull request #1152.

This time I used parameterised tests. As always, welcome feedback.
If this approach is approved, I will test all arguments of the spawner, this way.

@bmagyar
Copy link
Member

bmagyar commented Nov 9, 2023

Thank you! Let's see the CIs opinion :)

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #1160 (85a2ba6) into master (b8ba5c0) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1160   +/-   ##
=======================================
  Coverage   47.63%   47.63%           
=======================================
  Files          40       40           
  Lines        3445     3445           
  Branches     1866     1866           
=======================================
  Hits         1641     1641           
  Misses        480      480           
  Partials     1324     1324           
Flag Coverage Δ
unittests 47.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@Nils-ChristianIseke
Copy link
Author

@bmagyar could you have a look:) CI was failing but should hopefully be fixed now.

@bmagyar bmagyar changed the title Added parameterized test for spawner.py - not complete yet Added parameterized test for spawner.py Dec 12, 2023
@bmagyar
Copy link
Member

bmagyar commented Dec 12, 2023

Pretty happy with how this looks. Time to add a few more instantiations to that parametrized test now! :D

@bmagyar bmagyar marked this pull request as draft December 12, 2023 12:11
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