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

doudou / flexmock / 50
91%
master: 97%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 13 Sep 2016 03:25PM UTC
Jobs 5
Files 33
Run time 2min
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
50

push

travis-ci

doudou
do not unnecessarily mock #class and #kind_of? in flexmock_based_on

While it is necessary to do it for 'full' mocks, partial mocks
(which are one of the biggest users of #flexmock_based_on through
the usage of partials_are_based) seldom need to do it.

This solves many spurious 'redefinition' warnings when running
under -w, when mocking new instances of a class and partials_are_based
is set, e.g.

   flexmock(MyClass).new_instances....

would (unnecessarily) redefine #class and #kind_of?, but since MyClass
is a permanent object, it would do it over and over again, which leads
to said redefinition warnings.

1176 of 1289 relevant lines covered (91.23%)

431.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 50.1 (2.0) 13 Sep 2016 03:25PM UTC 0
38.68
Travis Job 50.1
2 50.2 (2.1) 13 Sep 2016 03:25PM UTC 0
96.79
Travis Job 50.2
3 50.3 (2.2) 13 Sep 2016 03:25PM UTC 0
96.79
Travis Job 50.3
4 50.4 (2.3.1) 13 Sep 2016 03:26PM UTC 0
96.79
Travis Job 50.4
5 50.5 (jruby-9.1.2.0) 13 Sep 2016 03:28PM UTC 0
0.0
Travis Job 50.5
Source Files on build 50
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #50
  • a1b482fd on github
  • Next Build on fix_test_suite (#51)
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