projecte_ionic/node_modules/jasmine-spec-reporter/README.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

2022-02-09 18:30:03 +01:00
jasmine-spec-reporter
=====================
[![Greenkeeper badge](https://badges.greenkeeper.io/bcaudan/jasmine-spec-reporter.svg)](https://greenkeeper.io/)
[![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.