{"action":"created","issue":{"url":"https://api.github.com/repos/Blosc/bcolz/issues/221","labels_url":"https://api.github.com/repos/Blosc/bcolz/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/Blosc/bcolz/issues/221/comments","events_url":"https://api.github.com/repos/Blosc/bcolz/issues/221/events","html_url":"https://github.com/Blosc/bcolz/issues/221","id":95541486,"number":221,"title":"if we install the test and suggest to run them to","user":{"login":"esc","id":41563,"avatar_url":"https://avatars.githubusercontent.com/u/41563?v=3","gravatar_id":"","url":"https://api.github.com/users/esc","html_url":"https://github.com/esc","followers_url":"https://api.github.com/users/esc/followers","following_url":"https://api.github.com/users/esc/following{/other_user}","gists_url":"https://api.github.com/users/esc/gists{/gist_id}","starred_url":"https://api.github.com/users/esc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esc/subscriptions","organizations_url":"https://api.github.com/users/esc/orgs","repos_url":"https://api.github.com/users/esc/repos","events_url":"https://api.github.com/users/esc/events{/privacy}","received_events_url":"https://api.github.com/users/esc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-16T22:06:52Z","updated_at":"2015-07-22T18:44:35Z","closed_at":null,"body":"As a user I wan to execute the test suite to check the installation, however this also means that all the test requirements must also be installed.\r\n\r\nFor example `mock` will not be installed with a `pip install -v bcolz` and so one test will fail."},"comment":{"url":"https://api.github.com/repos/Blosc/bcolz/issues/comments/123822868","html_url":"https://github.com/Blosc/bcolz/issues/221#issuecomment-123822868","issue_url":"https://api.github.com/repos/Blosc/bcolz/issues/221","id":123822868,"user":{"login":"waylonflinn","id":804108,"avatar_url":"https://avatars.githubusercontent.com/u/804108?v=3","gravatar_id":"","url":"https://api.github.com/users/waylonflinn","html_url":"https://github.com/waylonflinn","followers_url":"https://api.github.com/users/waylonflinn/followers","following_url":"https://api.github.com/users/waylonflinn/following{/other_user}","gists_url":"https://api.github.com/users/waylonflinn/gists{/gist_id}","starred_url":"https://api.github.com/users/waylonflinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waylonflinn/subscriptions","organizations_url":"https://api.github.com/users/waylonflinn/orgs","repos_url":"https://api.github.com/users/waylonflinn/repos","events_url":"https://api.github.com/users/waylonflinn/events{/privacy}","received_events_url":"https://api.github.com/users/waylonflinn/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T18:44:35Z","updated_at":"2015-07-22T18:44:35Z","body":"Partial solution: the `test_requires` argument works when building from source (but doesn't work for `pip`)\r\n\r\n```python\r\ntest_requires = [\r\n    'mock',\r\n    'nose',\r\n    ]\r\n\r\nsetup(name='repoapi',\r\n      ...\r\n      install_requires=install_requires,\r\n      tests_require=test_requires,\r\n      test_suite=\"nose.collector\",\r\n      ...\r\n      )\r\n```\r\n\r\nshould work with\r\n\r\n```python setup.py test```\r\n\r\nShamelessly stolen from: http://stackoverflow.com/a/15422703/74291"}}