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

eranpeer / FakeIt / 706
100%

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

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

7 of 7 new or added lines in 1 file covered. (100.0%)

3920 of 3923 relevant lines covered (99.92%)

109.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 706.1 10 Dec 2019 04:22PM UTC 0
99.92
Travis Job 706.1
Source Files on build 706
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #706
  • Pull Request #198
  • PR Base - master (#700)
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