test.py runs all tests if working directory contains name of desired story
Bug #46324 reported by
Matthew Paul Thomas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
James Henstridge |
Bug Description
"./test.py -f -vv canonical shipit" should run every test containing 'shipit' in their name, which is a good way of running all shipit tests, both normal doctests, and pagetests. Normally it does work, but if the working directory contains this string as well, for example 2006-05-shipit, all tests will be run.
This is a problem since you often want to run all tests related to what you're working on in the branch, and you often name the branch to what it's related to.
description: | updated |
Changed in launchpad: | |
assignee: | nobody → barry |
To post a comment you must log in.
I don't see a shipit story. Is this bug still valid?
And if there were a shipit story, you'd run it like:
python test.py canonical pagetests.shipit