Skip to content

Karma plugin which enables test reporting via websockets to a remote server.

License

Notifications You must be signed in to change notification settings

weiher/karma-remote-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-remote-reporter

Prerequisites

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 messages

Unfortunately 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.

About

Karma plugin which enables test reporting via websockets to a remote server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.9%
  • Shell 17.1%