Skip to content

Files

Latest commit

b8e174e · Jan 6, 2022

History

History
32 lines (23 loc) · 633 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 633 Bytes

excelize debugging

help to reproduce excelize lib issue case

about VSCode multiple workspace

Before commit or create PR

run go test and coverage test yourself

# run golang coverage test
function runGoCoverageReport() {
  outFile="cover.out"
  if [ -n "$1" ]; then
    outFile="$1"
    echo "using param as outFile: $1"
  fi

  # should all pass
  go test

  # generate report file
  go test -coverprofile=$outFile
  # open report HTML
  go tool cover -html=$outFile
}