jspiro / tester-go

Atom Package To Run Your Go Tests And Display Test Coverage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tester-go Atom Tester Build Status Build status

tester-go runs go test -coverprofile on your code and then displays coverage information in the editor. By default this is done automatically on save, and you can disable it via package configuration.

It depends on the following packages:

Usage

  • Run
  • Run tests for the current package with golang: run-tests or the shortcut ctrl + alt + shift + g  t.
  • Clear coverage with golang: hide-coverage or ctrl + alt + shift + g  x.

Configuration

  • runTestsOnSave: Run go test -coverprofile on the current package each time you save a .go file (default: true)
  • coverageHighlightMode: Control the way that coverage highlighting occurs:
    • covered-and-uncovered: highlight covered and uncovered regions of text
    • covered: highlight covered regions of text
    • uncovered: highlight uncovered regions of text
    • disabled: disable highlighting

About

Atom Package To Run Your Go Tests And Display Test Coverage

License:Other


Languages

Language:JavaScript 99.0%Language:CSS 1.0%