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

NebuPookins / toggl-cli / #4
52%

Build:
DEFAULT BRANCH: master
Ran 12 Sep 2021 11:49PM UTC
Jobs 1
Files 11
Run time 1s
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

pending completion
#4

push

NebuPookins
Merge remote-tracking branch 'nethunter/master'

Looks like nethunter did not run `npm test`, so this commit also fixes
some of the lint issues and tests so that they pass again.

Minor behaviour changes from nethunter's code:

* Previously the project property could be parsed as hexdecimal, e.g. if
  the user entered in `proj:FF`. I suspect this was unintentional. Now
  project numbers must be in decimal. `proj:FF` will NOT be interpreted
  as referring to project number 255, but instead be interpreted as the
  project whose name starts with "FF".
* Previously there was no handling for unrecognized properties, e.g.
  (`foo:bar`). Now, if we encounter an unrecognized property, we assume
  it's actually part of the name of the task, thus allowing for tasks to
  contain colons in them.

Testing done:
* `npm start pr`: Confirmed my projects were printed.
* `npm start cl`: Confirmed my clients were printed.
* `npm start start proj:7 Test` confirmed the task was started with project 7.
* `npm start stop proj:7 Test` confirmed the task was stopped with project 7.
* `npm start start proj:MyProj Test` confirmed the task was started with project whose name starts with "MyProj".
* `npm start stop proj:MyProj Test` confirmed the task was stopped with project whose name starts with "MyProj".
* `npm start -- --help`: Confirmed help info is displayed.
* `npm start -- --examples`: Confirmed examples are displayed.
* `npm start foo:bar Test`: Confirmed this starts a task with the name "foo:bar Test" (i.e. unknown properties are interpreted as part of the task name.)

88 of 299 branches covered (29.43%)

Branch coverage included in aggregate %.

243 of 607 relevant lines covered (40.03%)

4.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #4.1 12 Sep 2021 11:49PM UTC 0
36.53
Source Files on build #4
Detailed source file information is not available for this build.
  • Back to Repo
  • d450c92e on github
  • Prev Build on master
  • Next Build on master
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