Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gemini-testing/console-notifier
Plugin for gemini and hermione to log some information to a console after tests finished
https://github.com/gemini-testing/console-notifier
gemini-plugin hermione-plugin
Last synced: 6 days ago
JSON representation
Plugin for gemini and hermione to log some information to a console after tests finished
- Host: GitHub
- URL: https://github.com/gemini-testing/console-notifier
- Owner: gemini-testing
- License: mit
- Created: 2016-11-21T13:34:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-22T12:40:29.000Z (about 8 years ago)
- Last Synced: 2024-12-14T18:21:50.753Z (about 1 month ago)
- Topics: gemini-plugin, hermione-plugin
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# console-notifier [![Build Status](https://travis-ci.org/gemini-testing/console-notifier.svg?branch=master)](https://travis-ci.org/gemini-testing/console-notifier)
Plugin for [gemini](https://github.com/gemini-testing/gemini) and [hermione](https://github.com/gemini-testing/hermione) to log some information to a console after tests finished.
## Install
```bash
$ npm install console-notifier
```## Usage
### gemini
Add the plugin to your configuration file:
```js
module.exports = {
system: {
plugins: {
'console-notifier/gemini': {
logs: [
'first-log',
{text: 'second-log'}, // revealed variant of the previous example
{on: 'success', text: 'third-log'}, // show log only if tests passed
{on: 'fail', text: 'fourth-log'}, // show log only if tests failed
{text: 'fifth-log', color: 'bold.red'} // show colored log; feature uses methods from module `chalk`
]
}
}
}
};
```### hermione
Add the plugin to your configuration file:
```js
module.exports = {
plugins: {
'console-notifier/hermione': {
logs: [
'first-log',
{text: 'second-log'},
{on: 'success', text: 'third-log'},
{on: 'fail', text: 'fourth-log'},
{text: 'fifth-log', color: 'bold.red'}
]
}
}
};
```