You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kwargs in py_pytest_main macro is only applied to the underlying _py_pytest_main rule. Thus, testonly does not get applied to the py_library rule which makes up the pytest entry point.
Describe the feature
It would be useful to be able to pass in testonly flag to the underlying py_library rule defined by the py_pytest_main macro.
### Type of change
- New feature or functionality (change which adds functionality)
Adds 2 new **optional** parameters to `py_pytest_main(...)` rule: `data`
and `testonly`. These are standard arguments to the `py_library`. This
change simply exposes the arguments to the `py_pytest_main` rule
closes: #189
### Test plan
- Covered by existing test cases
What is the current behavior?
kwargs
inpy_pytest_main
macro is only applied to the underlying_py_pytest_main
rule. Thus,testonly
does not get applied to thepy_library
rule which makes up the pytest entry point.Describe the feature
It would be useful to be able to pass in
testonly
flag to the underlyingpy_library
rule defined by thepy_pytest_main
macro.Specifically here
The text was updated successfully, but these errors were encountered: