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

GothenburgBitFactory / taskwarrior / 13158305484
85%

Build:
DEFAULT BRANCH: develop
Ran 05 Feb 2025 01:26PM UTC
Jobs 1
Files 169
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

05 Feb 2025 01:20PM UTC coverage: 85.125% (+0.08%) from 85.045%
13158305484

push

github

web-flow
Test for unusual task data (#3770)

* Test for unusual task data

A task might have any combination of keys and values, but Taskwarrior
often assumes that only valid values can occur, and crashes otherwise.
This is highly inconvenient, as it's often impossible to do anything
with the invalid task -- Taskwarrior just fails without modifying it.

So, this is the beginning of some testing for such invalid tasks, with
the goal of making Taskwarrior due something reasonable. In general, an
invalid attribute value is treated as if it was not set. This is not
exhaustive, and there are likely still bugs of this sort, but as we find
them we can fix and add regression tests to this script.

This introduces a new test-only binary that creates a "bare" task using
TaskChampion, avoiding Taskwarrior's efforts to not create "unusual"
tasks.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

70 of 77 new or added lines in 7 files covered. (90.91%)

1 existing line in 1 file now uncovered.

19555 of 22972 relevant lines covered (85.13%)

23300.32 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
74.27
6.78% src/recur.cpp
5
79.17
test/make_tc_task.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.34
-0.85% src/sort.cpp
Jobs
ID Job ID Ran Files Coverage
1 13158305484.1 05 Feb 2025 01:26PM UTC 169
85.13
GitHub Action Run
Source Files on build 13158305484
  • Tree
  • List 169
  • Changed 127
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13158305484
  • fdb7e5e0 on github
  • Prev Build on develop (#13120017291)
  • Next Build on develop (#13173904650)
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