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

Add a resource for CLI tests #66459

Open
serhiy-storchaka opened this issue Aug 24, 2014 · 3 comments
Open

Add a resource for CLI tests #66459

serhiy-storchaka opened this issue Aug 24, 2014 · 3 comments
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 22263
Nosy @pitrou, @ezio-melotti, @voidspace, @zware, @serhiy-storchaka

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2014-08-24.06:47:43.478>
labels = ['type-feature', 'tests']
title = 'Add a resource for CLI tests'
updated_at = <Date 2014-08-26.06:31:09.655>
user = 'https://github.com/serhiy-storchaka'

bugs.python.org fields:

activity = <Date 2014-08-26.06:31:09.655>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests']
creation = <Date 2014-08-24.06:47:43.478>
creator = 'serhiy.storchaka'
dependencies = []
files = []
hgrepos = []
issue_num = 22263
keywords = []
message_count = 3.0
messages = ['225796', '225896', '225908']
nosy_count = 5.0
nosy_names = ['pitrou', 'ezio.melotti', 'michael.foord', 'zach.ware', 'serhiy.storchaka']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue22263'
versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

@serhiy-storchaka
Copy link
Member Author

Some modules have command-line interface (not always documented and tested). Their tests run a lot of subprocesses and requires long time, often longer than other tests of corresponding module. However command-line interface itself is much less important than Python interface. In the face of addition of more CLI tests it would be good to introduce new resource ("commandline" or "cli") which will control the run of such tests.

@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir type-feature A feature request or enhancement labels Aug 24, 2014
@pitrou
Copy link
Member

pitrou commented Aug 25, 2014

Or you could use the existing "cpu" resource.

@serhiy-storchaka
Copy link
Member Author

Looks reasonable. On other hand, there is the "subprocess" resource which currently is not used in any test.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants