• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

l50 / goutils / 11432621334
88%

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2024 03:31AM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Oct 2024 03:25AM UTC coverage: 63.311% (+3.9%) from 59.436%
11432621334

push

github

web-flow
Enhance logging and documentation generation (#893)

**Key Changes:**
- Refactored PrettyHandler for improved color support and flexibility
- Updated docGeneration to use go/packages for more robust parsing
- Enhanced error handling and logging across multiple packages
- Improved test coverage for logging and documentation generation

**Added:**
- JSON output option for logging
- Debug logging for file system operations in doc generation
- Helper functions for common test setup tasks in docGeneration_test.go
- New OutputType enum to support different logging output formats

**Changed:**
- Updated PrettyHandler to support both color and JSON output
- Refactored CreatePackageDocs to use go/packages for improved parsing
- Enhanced error handling in various functions, using errors.New() consistently
- Improved test cases for PrettyHandler and docGeneration
- Updated LogAndReturnError to use errors.New() for consistency

**Removed:**
- Unused code in docGeneration.go, including redundant type info extraction
- Deprecated outputToFile function in PrettyHandler

63 of 78 new or added lines in 4 files covered. (80.77%)

3 existing lines in 2 files now uncovered.

1855 of 2930 relevant lines covered (63.31%)

10.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11432621334.1 21 Oct 2024 03:31AM UTC 0
63.31
GitHub Action Run
Source Files on build 11432621334
Detailed source file information is not available for this build.
  • Back to Repo
  • 3fe77383 on github
  • Prev Build on main (#9931317409)
  • Next Build on main (#11432710840)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc