45 lines
1.3 KiB
Markdown
45 lines
1.3 KiB
Markdown
|
jasmine-spec-reporter
|
||
|
=====================
|
||
|
|
||
|
[![Dependabot](https://api.dependabot.com/badges/status?host=github&repo=bcaudan/jasmine-spec-reporter)](https://api.dependabot.com/badges/status?host=github&repo=bcaudan/jasmine-spec-reporter)
|
||
|
[![Build Status](https://travis-ci.org/bcaudan/jasmine-spec-reporter.svg?branch=master)](https://travis-ci.org/bcaudan/jasmine-spec-reporter)
|
||
|
[![codecov](https://codecov.io/gh/bcaudan/jasmine-spec-reporter/branch/master/graph/badge.svg)](https://codecov.io/gh/bcaudan/jasmine-spec-reporter)
|
||
|
|
||
|
Real time console spec reporter for jasmine testing framework.
|
||
|
|
||
|
![](screenshot.gif)
|
||
|
|
||
|
# Usage
|
||
|
|
||
|
## Installation
|
||
|
Install `jasmine-spec-reporter` via npm:
|
||
|
|
||
|
npm install jasmine-spec-reporter --save-dev
|
||
|
|
||
|
## Examples
|
||
|
* [Jasmine node tests](examples/node)
|
||
|
* [Protractor tests](examples/protractor)
|
||
|
* [TypeScript support](examples/typescript)
|
||
|
|
||
|
## Configuration
|
||
|
See full configuration and features: [configuration.ts](src/configuration.ts)
|
||
|
|
||
|
## Custom output
|
||
|
You can customize the output of the reporter yourself: [see how](docs/customize-output.md).
|
||
|
|
||
|
# Development
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
* npm >= 5
|
||
|
|
||
|
## Commands
|
||
|
|
||
|
* install dependencies: `npm install`
|
||
|
* launch unit tests: `npm test`
|
||
|
* launch integration tests: `npm run test:integration`
|
||
|
|
||
|
## Debugging
|
||
|
|
||
|
Unit tests hijack `console.log` to verify output; use `console.warn` to debug.
|