{"action":"closed","issue":{"url":"https://api.github.com/repos/pontarius/pontarius-xmpp/issues/86","labels_url":"https://api.github.com/repos/pontarius/pontarius-xmpp/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/pontarius/pontarius-xmpp/issues/86/comments","events_url":"https://api.github.com/repos/pontarius/pontarius-xmpp/issues/86/events","html_url":"https://github.com/pontarius/pontarius-xmpp/issues/86","id":53095034,"number":86,"title":"How can I run test suites ?","user":{"login":"hiratara","id":45287,"avatar_url":"https://avatars.githubusercontent.com/u/45287?v=3","gravatar_id":"","url":"https://api.github.com/users/hiratara","html_url":"https://github.com/hiratara","followers_url":"https://api.github.com/users/hiratara/followers","following_url":"https://api.github.com/users/hiratara/following{/other_user}","gists_url":"https://api.github.com/users/hiratara/gists{/gist_id}","starred_url":"https://api.github.com/users/hiratara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiratara/subscriptions","organizations_url":"https://api.github.com/users/hiratara/orgs","repos_url":"https://api.github.com/users/hiratara/repos","events_url":"https://api.github.com/users/hiratara/events{/privacy}","received_events_url":"https://api.github.com/users/hiratara/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-30T05:59:40Z","updated_at":"2015-01-01T22:47:24Z","closed_at":"2015-01-01T22:47:24Z","body":"I'm running ghc-7.8.3 on my OS X Yosemite.\r\n\r\nI clone the source code from github, and I run following commands and get errors.\r\n\r\n```\r\n% cabal sandbox init\r\n% cabal install --enable-tests --dependencies-only\r\nResolving dependencies...\r\ncabal: Could not resolve dependencies:\r\ntrying: pontarius-xmpp-0.4.0.2 (user goal)\r\nrejecting: pontarius-xmpp-0.4.0.2:!test (global constraint requires opposite\r\nflag selection)\r\ntrying: pontarius-xmpp-0.4.0.2:*test\r\ntrying: doctest-0.9.11.1 (dependency of pontarius-xmpp-0.4.0.2:*test)\r\nnext goal: ghc (dependency of doctest-0.9.11.1)\r\nrejecting: ghc-7.8.3/installed-4d8... (conflict: ghc =>\r\ntransformers==0.3.0.0/installed-16a..., pontarius-xmpp => transformers>=0.4)\r\nDependency tree exhaustively searched.\r\n\r\nNote: when using a sandbox, all packages are required to have consistent\r\ndependencies. Try reinstalling/unregistering the offending packages or\r\nrecreating the sandbox.\r\n```\r\n\r\nI guess that the dependency on `transformers-0.4` causes this error. (via: https://www.fpcomplete.com/blog/2014/05/lenient-lower-bounds)\r\n\r\nHowever, even after I removed `doctest` section from *.cabal, I get following errors.\r\n\r\n```\r\n% cabal configure --enable-tests\r\n% cabal test\r\ntests/Tests/Parsers.hs:57:15:\r\n    Not in scope: ‚ÄòtestCase‚Äô\r\n    In the splice: $testGroupGenerator\r\n\r\ntests/Tests/Parsers.hs:57:15:\r\n    Not in scope: ‚ÄòtestCase‚Äô\r\n    In the splice: $testGroupGenerator\r\n```\r\n\r\nWhat should I do to run test suites?\r\n"}}