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

NGCP / communication-js
98%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/types/sinon-10.0.2
DEFAULT BRANCH: master
Repo Added 04 Feb 2020 07:34AM UTC
Files 6
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

LAST BUILD ON BRANCH mock-testing
branch: mock-testing
CHANGE BRANCH
x
Reset
  • mock-testing
  • Luis729-patch-1
  • code-coverage
  • dependabot/add-v2-config-file
  • dependabot/npm_and_yarn/mocha-8.0.1
  • dependabot/npm_and_yarn/mocha-8.1.0
  • dependabot/npm_and_yarn/mocha-8.1.1
  • dependabot/npm_and_yarn/mocha-8.1.3
  • dependabot/npm_and_yarn/mocha-8.2.1
  • dependabot/npm_and_yarn/mocha-8.3.0
  • dependabot/npm_and_yarn/mocha-8.3.1
  • dependabot/npm_and_yarn/mocha-8.4.0
  • dependabot/npm_and_yarn/remark-cli-8.0.0
  • dependabot/npm_and_yarn/remark-cli-8.0.1
  • dependabot/npm_and_yarn/remark-cli-9.0.0
  • dependabot/npm_and_yarn/remark-preset-lint-markdown-style-guide-3.0.0
  • dependabot/npm_and_yarn/remark-preset-lint-markdown-style-guide-3.0.1
  • dependabot/npm_and_yarn/remark-preset-lint-markdown-style-guide-4.0.0
  • dependabot/npm_and_yarn/serialport-9.0.0
  • dependabot/npm_and_yarn/serialport-9.0.1
  • dependabot/npm_and_yarn/serialport-9.0.2
  • dependabot/npm_and_yarn/serialport-9.0.3
  • dependabot/npm_and_yarn/serialport-9.0.6
  • dependabot/npm_and_yarn/serialport-9.0.7
  • dependabot/npm_and_yarn/serialport-9.1.0
  • dependabot/npm_and_yarn/serialport/binding-abstract-9.0.0
  • dependabot/npm_and_yarn/serialport/binding-abstract-9.0.1
  • dependabot/npm_and_yarn/serialport/binding-abstract-9.0.2
  • dependabot/npm_and_yarn/serialport/binding-abstract-9.0.7
  • dependabot/npm_and_yarn/serialport/binding-mock-9.0.0
  • dependabot/npm_and_yarn/serialport/binding-mock-9.0.1
  • dependabot/npm_and_yarn/serialport/binding-mock-9.0.2
  • dependabot/npm_and_yarn/serialport/stream-9.0.0
  • dependabot/npm_and_yarn/serialport/stream-9.0.7
  • dependabot/npm_and_yarn/types/sinon-10.0.2
  • dependabot/npm_and_yarn/types/sinon-9.0.1
  • dependabot/npm_and_yarn/types/sinon-9.0.11
  • dependabot/npm_and_yarn/types/sinon-9.0.4
  • dependabot/npm_and_yarn/types/sinon-9.0.5
  • dependabot/npm_and_yarn/types/sinon-9.0.6
  • dependabot/npm_and_yarn/types/sinon-9.0.7
  • dependabot/npm_and_yarn/types/sinon-9.0.8
  • dev
  • finish-testing
  • fix-badge
  • master
  • publish
  • refactor
  • testing

pending completion
66

push

travis-ci-com

Luis729
Add unit tests for receiving data event

 ## Why is the change being made?

This change is made because this is the only situation that is not
tested for the XBee.

 ## What has changed to address the problem?

This change adds testing for the situation that the XBee receives any
type of frame. This goes deeply in al the cases that could occur from
what the XBee receives. To do this, the callback function from the event
was separated into its own function, made package-private and tested
there.

 ## How was this change tested?

This change was tested with `npm test`.

 ## Related documents, URLs, commits

40 of 42 branches covered (95.24%)

Branch coverage included in aggregate %.

82 of 82 relevant lines covered (100.0%)

8.87 hits per line

Relevant lines Covered
Build:
Build:
82 RELEVANT LINES 82 COVERED LINES
8.87 HITS PER LINE
Source Files on mock-testing
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
66 mock-testing Add unit tests for receiving data event ## Why is the change being made? This change is made because this is the only situation that is not tested for the XBee. ## What has changed to address the problem? This change adds testing for the sit... push 07 Mar 2020 11:55AM UTC Luis729 travis-ci-com pending completion  
67 mock-testing Add unit tests for receiving data event ## Why is the change being made? This change is made because this is the only situation that is not tested for the XBee. ## What has changed to address the problem? This change adds testing for the sit... Pull #16 07 Mar 2020 11:55AM UTC web-flow travis-ci-com pending completion  
65 mock-testing Add unit tests for receiving data event ## Why is the change being made? This change is made because this is the only situation that is not tested for the XBee. ## What has changed to address the problem? This change adds testing for the sit... Pull #16 07 Mar 2020 11:55AM UTC web-flow travis-ci-com pending completion  
64 mock-testing Add unit tests for receiving data event ## Why is the change being made? This change is made because this is the only situation that is not tested for the XBee. ## What has changed to address the problem? This change adds testing for the sit... push 07 Mar 2020 11:47AM UTC Luis729 travis-ci-com pending completion  
63 mock-testing Add sinon to mock unit testing ## Why is the change being made? This change is made because coverage from previous commit is not that great, and it is hard to test everything without mocks. ## What has changed to address the problem? This ch... push 07 Mar 2020 11:04AM UTC Luis729 travis-ci-com pending completion  
62 mock-testing Fix XBee and add unit testing to it ## Why is the change being made? This change is made because the validity of XBee.ts is uncertain without testing. ## What has changed to address the problem? This change adds testing to XBee.ts through th... push 07 Mar 2020 10:46AM UTC Luis729 travis-ci-com pending completion  
61 mock-testing Refactor and reduce test time of UpdateHandler push 07 Mar 2020 10:43AM UTC Luis729 travis-ci-com pending completion  
60 mock-testing Reduce test time of UpdateHandler push 07 Mar 2020 09:34AM UTC Luis729 travis-ci-com pending completion  
54 mock-testing Add dependencies and typings for mock testing ## Why is the change being made? This change is made because it is important to perform unit testing on the XBee and Messenger classes to make sure they function properly. In order to do this, the M... push 05 Mar 2020 11:19AM UTC Luis729 travis-ci-com pending completion  
See All Builds (169)
  • Repo on GitHub
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

© 2025 Coveralls, Inc