{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/5b292510c1c2dbb163297592f453a983?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5b292510c1c2dbb163297592f453a983","url":"https://api.github.com/users/yanne","login":"yanne","id":159146},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-11T06:22:44Z","comments":1,"closed_at":null,"url":"https://api.github.com/repos/bitprophet/spec/issues/14","body":"In same working dir:\r\n\r\n➜ nosetests\r\n\r\n----------------------------------------------------------------------\r\nRan 0 tests in 0.001s\r\n\r\nOK\r\n\r\n➜ spec\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/spec\", line 9, in <module>\r\n    load_entry_point('spec==0.9.3', 'console_scripts', 'spec')()\r\n  File \"/usr/lib/python2.7/site-packages/spec/cli.py\", line 111, in main\r\n    addplugins=plugins,\r\n  File \"/usr/lib/python2.7/site-packages/nose/core.py\", line 284, in run\r\n    return TestProgram(*arg, **kw).success\r\n  File \"/usr/lib/python2.7/site-packages/nose/core.py\", line 118, in __init__\r\n    **extra_args)\r\n  File \"/usr/lib/python2.7/unittest/main.py\", line 94, in __init__\r\n    self.parseArgs(argv)\r\n  File \"/usr/lib/python2.7/site-packages/nose/core.py\", line 135, in parseArgs\r\n    self.config.configure(argv, doc=self.usage())\r\n  File \"/usr/lib/python2.7/site-packages/nose/config.py\", line 317, in configure\r\n    self.configureWhere(options.where)\r\n  File \"/usr/lib/python2.7/site-packages/nose/config.py\", line 400, in configureWhere\r\n    \"not a directory\" % path)\r\nValueError: Working directory tests not found, or not a directory\r\n\r\n\r\nThis seems a bit rude, especially to a newcomer. Perhaps just showing --help would be better?","html_url":"https://github.com/bitprophet/spec/issues/14","title":"Better error message when used w/o options and `tests` not found","number":14,"id":2206590,"created_at":"2011-11-11T05:56:35Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/f1acc6318028fdba9874c77bc622a2fb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f1acc6318028fdba9874c77bc622a2fb","url":"https://api.github.com/users/bitprophet","login":"bitprophet","id":6088},"updated_at":"2011-11-11T06:22:44Z","url":"https://api.github.com/repos/bitprophet/spec/issues/comments/2705340","body":"Definitely. `spec` the script is very much a first draft :)","id":2705340,"created_at":"2011-11-11T06:22:44Z"}}