Skip to content

Add pytest marks and mark checker - #256

Merged
drewaogle merged 6 commits into
developfrom
dev/pytest_mark_checking
Jul 19, 2023
Merged

drewaogle merged 6 commits into
developfrom
dev/pytest_mark_checking

Conversation

@drewaogle

Copy link
Copy Markdown
Contributor
  • adds mark_checker which allows gating of imports based on what marks are selected
  • adds some marks, and decorations
  • uses mark_checker to disable kaggle import unless selected as example.

@drewaogle drewaogle added the enhancement New feature or request label Jul 18, 2023
@drewaogle
drewaogle requested a review from gsaluja9 July 18, 2023 13:15
@drewaogle drewaogle self-assigned this Jul 18, 2023
@drewaogle
drewaogle merged commit b4b8b36 into develop Jul 19, 2023
@drewaogle
drewaogle deleted the dev/pytest_mark_checking branch July 19, 2023 11:18
@luisremis

Copy link
Copy Markdown
Contributor

This is pretty nice, running python tests locally was a bit complicated without this.

@drewaogle would you add some brief instructions on the description on how markers are specified when running the tests? Thanks! I will give this a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants