{"action":"created","issue":{"url":"https://api.github.com/repos/pfn/android-sdk-plugin/issues/152","labels_url":"https://api.github.com/repos/pfn/android-sdk-plugin/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/pfn/android-sdk-plugin/issues/152/comments","events_url":"https://api.github.com/repos/pfn/android-sdk-plugin/issues/152/events","html_url":"https://github.com/pfn/android-sdk-plugin/issues/152","id":61074661,"number":152,"title":"Pure unittests with scalatest library","user":{"login":"raymank26","id":8013845,"avatar_url":"https://avatars.githubusercontent.com/u/8013845?v=3","gravatar_id":"","url":"https://api.github.com/users/raymank26","html_url":"https://github.com/raymank26","followers_url":"https://api.github.com/users/raymank26/followers","following_url":"https://api.github.com/users/raymank26/following{/other_user}","gists_url":"https://api.github.com/users/raymank26/gists{/gist_id}","starred_url":"https://api.github.com/users/raymank26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raymank26/subscriptions","organizations_url":"https://api.github.com/users/raymank26/orgs","repos_url":"https://api.github.com/users/raymank26/repos","events_url":"https://api.github.com/users/raymank26/events{/privacy}","received_events_url":"https://api.github.com/users/raymank26/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-13T14:22:43Z","updated_at":"2015-03-13T14:50:44Z","closed_at":null,"body":"Hi!\r\n\r\nI'm trying to run unit tests based on `scalatest` library. I've placed my tests in `src/test/scala/` folder and added this to `build.sbt`:\r\n\r\n```\r\nsourceDirectory in Test := baseDirectory.value / \"src\" / \"test\"\r\n\r\nlibraryDependencies += \"org.scalatest\" % \"scalatest_2.11\" % \"2.2.1\" % \"test\"\r\n```\r\n\r\nBut when I call `sbt test` I get:\r\n````\r\nobject scalatest is not a member of package org\r\nimport org.scalatest._\r\n           ^\r\n````\r\n\r\nThe output of `show test:dependencyClasspath` includes `scalatest` but It seems that `scalatest` library isn't added to classpath at some strange reason. How to fix this?\r\n"},"comment":{"url":"https://api.github.com/repos/pfn/android-sdk-plugin/issues/comments/79008829","html_url":"https://github.com/pfn/android-sdk-plugin/issues/152#issuecomment-79008829","issue_url":"https://api.github.com/repos/pfn/android-sdk-plugin/issues/152","id":79008829,"user":{"login":"pfn","id":512197,"avatar_url":"https://avatars.githubusercontent.com/u/512197?v=3","gravatar_id":"","url":"https://api.github.com/users/pfn","html_url":"https://github.com/pfn","followers_url":"https://api.github.com/users/pfn/followers","following_url":"https://api.github.com/users/pfn/following{/other_user}","gists_url":"https://api.github.com/users/pfn/gists{/gist_id}","starred_url":"https://api.github.com/users/pfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfn/subscriptions","organizations_url":"https://api.github.com/users/pfn/orgs","repos_url":"https://api.github.com/users/pfn/repos","events_url":"https://api.github.com/users/pfn/events{/privacy}","received_events_url":"https://api.github.com/users/pfn/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T14:50:44Z","updated_at":"2015-03-13T14:50:44Z","body":"remove sourceDirectory in Test\r\n\r\nit works fine."}}