Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

clojure-android/droid-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

droid-test

Droid-test is a small utility library that facilitates testing in Clojure-Android projects. It uses Robolectric to locally run tests that interoperate with Android classes.

Droid-test currently provides support for the following Clojure testing libraries:

Usage

The simplest was to use droid-test is from lein-droid. The tutorial is coming soon.

It is also possible to use droid-test manually. You have to issue the following shell command:

java coa.droid_test.internal.TestRunner -mode <mode> <list-of-test-namespaces>

`<mode>` should be either `clojuretest`, `expectations` or `speclj`. If `-mode` option is not provided, `clojuretest` is assumed. List of test namespaces should be separated by space. It goes without saying that Clojure, Robolectric, JUnit, droid-test, and test namespaces themselves should be on the classpath for this command to work.

License

Copyright © 2015 Alexander Yakushev. Distributed under the Eclipse Public License, the same as Clojure. See the file LICENSE.

About

Robolectric wrapper for testing Clojure-Android projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published