< Summary - Neospec Coverage

Information
Class: -
Assembly: neospec
File(s): /home/runner/work/neospec/neospec/cmd/neospec/main.go
Line coverage
0%
Covered lines: 0
Uncovered lines: 19
Coverable lines: 19
Total lines: 36
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
main0%000%

File(s)

/home/runner/work/neospec/neospec/cmd/neospec/main.go

#LineLine coverage
 1// neospec is a self-contained test runner and coverage tool for Neovim plugins
 2// and distributions. It downloads and caches Neovim binaries automatically —
 3// no system Neovim installation is required.
 4package main
 5
 6import (
 7  "fmt"
 8  "os"
 9
 10  "github.com/spf13/cobra"
 11
 12  "github.com/jedi-knights/neospec/cmd/neospec/commands"
 13)
 14
 15var version = "dev" // overridden at build time with -ldflags
 16
 017func main() {
 018  root := &cobra.Command{
 019    Use:   "neospec",
 020    Short: "Test runner and coverage tool for Neovim plugins",
 021    Long: `neospec runs Lua test suites for Neovim plugins and distributions.
 022It downloads and caches Neovim binaries automatically — no system install required.`,
 023    SilenceUsage: true,
 024  }
 025
 026  root.AddCommand(
 027    commands.NewRunCmd(),
 028    commands.NewVersionCmd(version),
 029    commands.NewCacheCmd(),
 030  )
 031
 032  if err := root.Execute(); err != nil {
 033    fmt.Fprintln(os.Stderr, err)
 034    os.Exit(1)
 035  }
 36}

Methods/Properties

main