# jasmine-cordova-runner

> Runs Jasmine tests inside Cordova on a real phone.

Latest version **0.1.2** (published 2015-09-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install jasmine-cordova-runner
pnpm add jasmine-cordova-runner
yarn add jasmine-cordova-runner
bun add jasmine-cordova-runner
```

Provides the command `jascorun`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2015-09-17 |
| First published | 2015-09-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+4 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Seth Black |
| Maintainers | sethblack |
| Keywords | cordova, jasmine |

## Links

- npm: https://www.npmjs.com/package/jasmine-cordova-runner
- Repository: https://github.com/sethblack/jasmine-cordova-runner
- Homepage: https://github.com/sethblack/jasmine-cordova-runner#readme
- Issues: https://github.com/sethblack/jasmine-cordova-runner/issues
- npm.io page: https://npm.io/package/jasmine-cordova-runner

## Dependencies (3)

- [fs](https://npm.io/package/fs.md) 0.0.2
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.12
- [shelljs](https://npm.io/package/shelljs.md) ^0.5.3

## Recent versions

- 0.1.2 (latest) — 2015-09-17
- 0.1.1 — 2015-09-16
- 0.1.0 — 2015-09-16

## README

jasmine-cordova-runner
======================

Are you a crazy person who likes to develop Apache Cordova plugins that can only be tested
on real devices (like, say Bluetooth plugins written in C)? Do you also exclusively
test your code in Jasmine? Fantastic! This plugin may be just the thing you're looking
for.

# Install

```shell
$ npm install -g jasmine-cordova-runner
```

# Usage

You'll need to have a mostly intact Apache Cordova plugin with a functioning jasmine directory.
Then all you need to do is plug in a phone of your choosing and run

```shell
$ jascorun android
```

or even

```shell
$ jascorun ios
```

This should create a cordova_test_app directory inside your plugin's directory and run the app
on your phone. You may want to add cordova_test_app to your local .gitignore to keep your repo
clean.

# SpecRunners

Because Cordova injects plugins after the DOM has loaded you'll need to wrap your specs with
a 'deviceready' listener.

# Debugging

Hahaha! It's in Javascript. Good luck!

---
_Source: https://npm.io/package/jasmine-cordova-runner · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
