{"action":"created","issue":{"url":"https://api.github.com/repos/cemerick/clojurescript.test/issues/104","labels_url":"https://api.github.com/repos/cemerick/clojurescript.test/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/cemerick/clojurescript.test/issues/104/comments","events_url":"https://api.github.com/repos/cemerick/clojurescript.test/issues/104/events","html_url":"https://github.com/cemerick/clojurescript.test/issues/104","id":101185769,"number":104,"title":"Running outside of Leiningen","user":{"login":"charlesg3","id":6087509,"avatar_url":"https://avatars.githubusercontent.com/u/6087509?v=3","gravatar_id":"","url":"https://api.github.com/users/charlesg3","html_url":"https://github.com/charlesg3","followers_url":"https://api.github.com/users/charlesg3/followers","following_url":"https://api.github.com/users/charlesg3/following{/other_user}","gists_url":"https://api.github.com/users/charlesg3/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesg3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesg3/subscriptions","organizations_url":"https://api.github.com/users/charlesg3/orgs","repos_url":"https://api.github.com/users/charlesg3/repos","events_url":"https://api.github.com/users/charlesg3/events{/privacy}","received_events_url":"https://api.github.com/users/charlesg3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-15T15:42:44Z","updated_at":"2015-08-24T15:53:41Z","closed_at":null,"body":"I currently have the test suite working when I run `lein cljsbuild test`, however I am looking to package things up in a way that they can be tested outside of Leininging (e.g. in a docker container).\r\n\r\nI have copied the runner script from here: https://github.com/cemerick/clojurescript.test/blob/master/resources/cemerick/cljs/test/runner.js (also tried copying one that was written to /tmp).\r\n\r\nWhenever I run it outside of Lein, I get the following error:\r\n\r\n```\r\nReferenceError: Can't find variable: cemerick\r\n\r\n  test/runner.js:43 in onError\r\n\r\nERROR: cemerick.cljs.test was not required.\r\n\r\nYou can resolve this issue by ensuring [cemerick.cljs.test] appears\r\nin the :require clause of your test suite namespaces.\r\nAlso make sure that your build has actually included any test files.\r\n\r\n  test/runner.js:55 in onError\r\n```\r\n\r\nIs there anything special I need to do to run things outside of Lein?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/cemerick/clojurescript.test/issues/comments/134259179","html_url":"https://github.com/cemerick/clojurescript.test/issues/104#issuecomment-134259179","issue_url":"https://api.github.com/repos/cemerick/clojurescript.test/issues/104","id":134259179,"user":{"login":"cemerick","id":47489,"avatar_url":"https://avatars.githubusercontent.com/u/47489?v=3","gravatar_id":"","url":"https://api.github.com/users/cemerick","html_url":"https://github.com/cemerick","followers_url":"https://api.github.com/users/cemerick/followers","following_url":"https://api.github.com/users/cemerick/following{/other_user}","gists_url":"https://api.github.com/users/cemerick/gists{/gist_id}","starred_url":"https://api.github.com/users/cemerick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cemerick/subscriptions","organizations_url":"https://api.github.com/users/cemerick/orgs","repos_url":"https://api.github.com/users/cemerick/repos","events_url":"https://api.github.com/users/cemerick/events{/privacy}","received_events_url":"https://api.github.com/users/cemerick/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T15:53:41Z","updated_at":"2015-08-24T15:53:41Z","body":"Assuming you have the properly-compiled JS output, you should be able to drop it into the appropriate runner whereever. I frequently run tests w/o lein using the runner scripts."}}