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

nightconcept / almandine / 14846535458

05 May 2025 09:22PM UTC coverage: 32.421% (-35.5%) from 67.965%
14846535458

push

github

web-flow
fix: Change init module to be e2e testable (#17)

91 of 420 new or added lines in 11 files covered. (21.67%)

462 of 1425 relevant lines covered (32.42%)

1.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

28.57
/src/utils/printer.lua
1
---
2
--- Printer Utility
3
---
4
-- Provides functions for writing to standard output and standard error.
5
---
6

7
local M = {}
2✔
8

9
--- Writes the given arguments to standard output, followed by a newline.
10
--- Converts arguments to strings before writing.
11
---@vararg any The values to write.
12
function M.stdout(...)
2✔
NEW
13
  local parts = {}
×
NEW
14
  for i = 1, select("#", ...) do
×
NEW
15
    parts[i] = tostring(select(i, ...))
×
16
  end
NEW
17
  io.stdout:write(table.concat(parts, "\t"), "\n")
×
NEW
18
  io.stdout:flush() -- Ensure output is immediate
×
19
end
20

21
--- Writes the given arguments to standard error, followed by a newline.
22
--- Converts arguments to strings before writing.
23
---@vararg any The values to write.
24
function M.stderr(...)
2✔
NEW
25
  local parts = {}
×
NEW
26
  for i = 1, select("#", ...) do
×
NEW
27
    parts[i] = tostring(select(i, ...))
×
28
  end
NEW
29
  io.stderr:write(table.concat(parts, "\t"), "\n")
×
NEW
30
  io.stderr:flush() -- Ensure output is immediate
×
31
end
32

33
return M
2✔
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