Skip to content

gabriel-araujjo/lcov-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lcov-server [docs][hosted]

🎯 A simple lcov server & cli parser

Npm Version Build Status Coverage Status Dependency Status devDependency Status npm npm

What is this?

It's a lcov server! It stores lcov reports and categorizes them based on their origin repo.

Prerequisites

  • mongodb installed
  • nodejs installed

Install

npm install lcov-server -g

Usage

Usage: lcov-server [options]

Commands:

	upload, --upload, -u [server ] Set the url to upload lcov data too (default: http://localhost:8080)
	serve, -s, --serve             Pass this option to startup a lcov-server instance
	version, -v, --version           output the version number
	help, -h, --help              output usage information

Options:

	db, -d, --db [db]           Set the db connection (default: mongodb://localhost:32768/lcov-server)
	parser, -p, --parser <parser>   Set the parser value [lcov, cobertura, golang, jacoco], defaults to lcov (default: lcov)
	basePath, -bp, --basePath <path>  The path that defines the base directory where the files that were covered will be located

Upload

tap test --coverage-report=text-lcov | lcov-server --upload http://...

Server

lcov-server --serve --db mongodb://localhost:32768/lcov-server

About

🎯 A simple lcov server & cli parser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.9%
  • CSS 2.1%