Project

Profile

Help

Story #2706

As a developer, I can easily run a subset of pulp smash tests.

Added by semyers over 3 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Currently, the psmash alias in our vagrant env run all the pulp smash tests. It is easy to manually invoke pulp smash to only run a subset of those tests (e.g py.test pulp_smash/tests/rpm/ in the pulp-smash dir to just run rpm tests), but ideally the psmash alias in our developer environments would facilitate this by letting you run something like psmash rpm instead, and let psmash do what's needed to translate that command back into the corresponding py.test invocation.

History

#1 Updated by semyers over 3 years ago

Bonus points for passing py.test commandline flags through, like psmash --verbose.

Super bonus points for making psmash autocomplete based on the contents of pulp_smash/tests/, so you can use tab completion to make it even easier to narrow down what pulp smash smashes.

#2 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF