Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/floriangrundig/karma-remote-reporter
Karma plugin which enables test reporting via tcp to a remote server.
https://github.com/floriangrundig/karma-remote-reporter
Last synced: 3 months ago
JSON representation
Karma plugin which enables test reporting via tcp to a remote server.
- Host: GitHub
- URL: https://github.com/floriangrundig/karma-remote-reporter
- Owner: floriangrundig
- License: mit
- Created: 2013-07-28T10:32:43.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-07T11:49:34.000Z (about 10 years ago)
- Last Synced: 2024-04-26T00:25:34.882Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 259 KB
- Stars: 4
- Watchers: 16
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-repos - floriangrundig/karma-remote-reporter - Karma plugin which enables test reporting via tcp to a remote server. (JavaScript)
README
TODO fix npm WARN package.json [email protected] No repository field.s
karma-remote-reporter
=====================Current Version 0.1.5
History
-------
Version 0.2.0:
* sending test results via pure (TCP) sockets instead of using websockets (important: update the result receiver (e.g. junit-karma-testrunner))Version 0.1.5:
* fixed compatibility bug with karma 0.12.xVersion 0.1.4:
* the remote reporter will recognize the command line argument --remoteReporterPort=ANY_NUMBER to configure the remote report server portVersion 0.1.3:
* syntax error will be reportedVersion 0.1.2:
* Bugfix: karma-remote-reporter will wait per default 1000ms onExit-Event to finish reporting (this is configurable with "finishDelay")Prerequisites
-------------* install node.js (http://nodejs.org/download/)
* install karma (http://karma-runner.github.com)
* do to some bugs in karma (v0.11.0) the required karma version is limited to v0.10.x
* in your apps package.json add karma and the following dependency: "karma-remote-reporter" : ">=0.1.x"Basics
------
This application is about creating a javascript-based artefact that is able to send test results
to a configured server via websocket. Tests are executed in a karma environment.This software is intended to become a Karma plugin which enables test reporting via websockets to a remote server.
Report results in junit style via websockets to a configurable remote server...Development
-----------
To work at the plugin we need to build a test environment. It has three components:* install ws for nodejs: npm install ws
* the karma-remote-report plugin
* test environment to execute karma with this plugin
* a nodejs test instance to receive test messagesUnfortunately it's not possible to keep development stuff in the same directory. So there is a script to build
a development environment.Simply go to the home directory of this project and do
. scripts/development.sh
After finished this script, see output. It has the follow-up commands to start node testserver and to start karma.