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

eranpeer / FakeIt / 706 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 10 Dec 2019 04:22PM UTC
Files 110
Run time 8s
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

10 Dec 2019 04:22PM UTC coverage: 99.924% (+0.001%) from 99.923%
706.1

Pull #198

travis-ci

web-flow
Add Any verification specifier

A flexible test may want to ignore invocations of trivial methods, like
getters and read only functions. Such methods may be called any number
of times, including none.

Currently FakeIt has no way to discard the invocations of a sequence of
methods. Using `ClearInvocationHistory` would discard all the methods,
trivial or not.

This new verification specifier, `Any`, marks a method or sequence
of methods as verified, regardless of the number of invocations
(including none).

Example:

    Verify(Method(mock, important_method)).Exactly(3);
    Verify(Method(mock, trivial_getter)).Any();
    VerifyNoOtherInvocations(mock);

Using this modifier, a flexible test may white-list the trivial methods,
and make sure that important methods are not called.
Pull Request #198: Add Any verification specifier

3920 of 3923 relevant lines covered (99.92%)

109.52 hits per line

Source Files on job 706.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 703
  • Travis Job 706.1
  • aeaf26da on github
  • Prev Job for on master (#700.1)
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