Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/freerange/mocha
A mocking and stubbing library for Ruby
https://github.com/freerange/mocha
0c9834da0ef803487304fa8f544cc99c7583cd34 authored over 13 years ago by James Mead <[email protected]>
f417066f7f1b7d66cf5c72f28380675bde0cc424 authored over 13 years ago by James Mead <[email protected]>
94cf38e49663b9aa640fc1ea78bb4dbfc539369b authored over 13 years ago by James Mead <[email protected]>
0b1567583bac0aee3b4eda34d06a40c43d021a2e authored over 13 years ago by James Mead <[email protected]>
The amount of effort required to make introspection compatible with Ruby 1.8.6 isn't worth it, s...
592a890df11ec87394022db6190d68fcf39f690f authored over 13 years ago by James Mead <[email protected]>24a34993114f705c4af1f539cea1077381eb938a authored over 13 years ago by James Mead <[email protected]>
See https://github.com/floehopper/mocha/commit/f0749d6d291164cc9280aa8ba16f33d652d45fe1#commitco...
efed25fa8892afdb0d8f43801b439146a34e95bb authored over 13 years ago by James Mead <[email protected]>I've now checked through all the changes to Test::Unit::TestCase#run.
b499ff38a232a4ae2f603b477021dd3c0beb2567 authored over 13 years ago by James Mead <[email protected]>now the green dots will be shown and each passed test gets counted
bc2feaefc648c2c8b12b14a50399978996b14020 authored over 13 years ago by Jens Fahnenbruck <[email protected]>164f341c7677287636719805a2720b7d65da28a1 authored over 13 years ago by James Mead <[email protected]>
3ea65ca7d5c874445f4857b7f7c2b3098e807772 authored over 13 years ago by James Mead <[email protected]>
0ce0adc9f104a0ae2ddca400696c8694e85f1b93 authored over 13 years ago by James Mead <[email protected]>
f0749d6d291164cc9280aa8ba16f33d652d45fe1 authored over 13 years ago by James Mead <[email protected]>
2d09f171fdda57ea65e017ba263d6a874c4af88a authored over 13 years ago by James Mead <[email protected]>
ef64214154347b821b89c5c10e3f5be2e6fd4449 authored over 13 years ago by James Mead <[email protected]>
* I'm assuming nobody is still using the tar & zip versions of the release, but these are not av...
c874d5177f6ac72ed237256cdb6b52785f4ce1ad authored over 13 years ago by James Mead <[email protected]>
* Use Bundler and a Gemfile to manage dependencies based on the gemspec.
* Extract version const...
d03843e763f4e5ceadb66bcb4c530d6c5d0cb293 authored over 13 years ago by James Mead <[email protected]>
6da1242f26b12a24c4fcf67bf5921a25bc1bc88d authored over 13 years ago by James Mead <[email protected]>
In particular, check that the hierarchy of methods defined on a class and its ancestors is uncha...
adeb8ae0189963cf3024f2b37d5348a7feaae11e authored over 13 years ago by James Mead <[email protected]>Note that we should include Object & Kernel methods in the introspection snapshot to ensure they...
7dd9512a874f89b8037d7320fe7988c222f439e1 authored over 13 years ago by James Mead <[email protected]>b9168b6a53ea36e25572b8d2a9cc1e5e34f0b415 authored over 13 years ago by James Mead <[email protected]>
In particular, check that the hierarchy of methods defined on an instance and its ancestors is u...
13cf27bb84be25475e08ac6579c9447d60e111fe authored over 13 years ago by James Mead <[email protected]>84692eb8145581fe4ae9f1079050386cf9847e18 authored over 13 years ago by James Mead <[email protected]>
f2772b89d46aad0067430d1e4bf1374a4ee991e0 authored over 13 years ago by James Mead <[email protected]>
Note that this fixes Github issue #20, because the original method is left unchanged.
However, ...
f1d182ea33fe08cbc187df90f12013814ae59da8 authored over 13 years ago by James Mead <[email protected]>4964f5c0c27b4030c7271043999455e703eaeeba authored over 13 years ago by Nick Lewis <[email protected]>
b3c914b0eee24ed48331c8c835c7801f5e18e390 authored over 13 years ago by James Mead <[email protected]>
In fact they are already stateful in the sense that they add new methods, alias methods, and rem...
b136041d8d460e5fc61ef8b96492db39759c7992 authored over 13 years ago by James Mead <[email protected]>6fe08197f214457ac122c49d96fdac8e17adbea2 authored over 13 years ago by James Mead <[email protected]>
a85a477f47aee133f77e60ebada6760f41bb7aaf authored over 13 years ago by James Mead <[email protected]>
2b4e868d1907859cd03f407078bd8b630f7d0dd6 authored almost 14 years ago by Gleb Pomykalov <[email protected]>
6f18b724c50a89a1fad954dc32a8a590dbb877ca authored almost 14 years ago by James Mead <[email protected]>
8bb523e8467626c23b271eb529c33fb118e368fe authored almost 14 years ago by James Mead <[email protected]>
72c0453c051dc4b1939d82208988dd6cca403415 authored almost 14 years ago by James Mead <[email protected]>
62c0188dbc1545aea7433e795eb938d78d7dd5b3 authored almost 14 years ago by James Mead <[email protected]>
This reverts commit 171a59dd7d0d407995da85775582cb25f232c348, reversing
changes made to 8e4ff31f...
4fb88aea21f12c4fb7a8b14e8b58c5d9bb6829a8 authored almost 14 years ago by James Mead <[email protected]>
dc2acf96ff8118a597e805d36b40b9001f8165a2 authored almost 14 years ago by James Mead <[email protected]>
10da3d4ddcca860edc746d3a9c7f61f01062a9a0 authored almost 14 years ago by James Mead <[email protected]>
171a59dd7d0d407995da85775582cb25f232c348 authored almost 14 years ago by James Mead <[email protected]>
8e4ff31f01d73839cf1e1a7977d056fcd93d9ce0 authored almost 14 years ago by James Mead <[email protected]>
1ae77bcff8f95e33392b25d35bec7195da33ba90 authored almost 14 years ago by James Mead <[email protected]>
8e6752bf54840ab50122e555d7f62caf08e0cbe6 authored almost 14 years ago by James Mead <[email protected]>
201511ae7f3fad6abbb98eaba5ccb575c8474bc7 authored almost 14 years ago by James Mead <[email protected]>
aae7fdfdff52bb759cca74a2459ce105bba6ff10 authored almost 14 years ago by James Mead <[email protected]>
1613ed2267fef5927ea06adfdbcf512b89eadaad authored almost 14 years ago by James Mead <[email protected]>
401574261ca796573bc07110064e48bc41763b6d authored almost 14 years ago by James Mead <[email protected]>
5f8677f351c3309f9f4a7c6982e24562e9f297ab authored almost 14 years ago by James Mead <[email protected]>
0b7df3c8464e85fcf05a18be91bad6d9e29b04f1 authored almost 14 years ago by James Mead <[email protected]>
2c46df2ca31ebb869c1d94cfbb612074131c1f8d authored almost 14 years ago by James Mead <[email protected]>
06889b55d4d89867090b976117f09924c84b56ec authored almost 14 years ago by Nick Lewis <[email protected]>
cc436649221e1895b5fc392247ce108db5ba8244 authored almost 14 years ago by James Mead <[email protected]>
ef4439904bb8476a661ec184a406e7f19714642e authored almost 14 years ago by James Mead <[email protected]>
7f870dbc857fedb50bc986d32c8606d4fe57f722 authored almost 14 years ago by James Mead <[email protected]>
6cf8d6b3a08de8ccb7a2943885366e46671b8a67 authored almost 14 years ago by James Mead <[email protected]>
ff19acaa90dbed6baf3ae237f55401e0e425f0c3 authored almost 14 years ago by James Mead <[email protected]>
509a046f3bee0c282727c83821b66b65d96419cf authored almost 14 years ago by James Mead <[email protected]>
9de0e619d46ba50c938fb1d24d30e931c38ebef1 authored about 14 years ago by James Mead <[email protected]>
1ed96f77a967b497746176e0b8a46746f5b4d722 authored about 14 years ago by Paul Battley <[email protected]>
80f28aa72397c814e26a1893b576e768287b3c59 authored about 14 years ago by James Mead <[email protected]>
See http://floehopper.lighthouseapp.com/projects/22289/tickets/52-never-expectation-failed-twist...
afea438fe5a85eadf2ebfd61bfd17c28393604db authored about 14 years ago by James Mead <[email protected]>2b70431de641c88308dad0e8b2943be5522218bf authored about 14 years ago by James Mead <[email protected]>
f3973884da18da1eafa03de947f56600a3ffc9a2 authored about 14 years ago by James Mead <[email protected]>
31182ea8b38b79aa50702aa839f6a29ebcf7d684 authored about 14 years ago by James Mead <[email protected]>
8462164183b820aae9a0c3a09fb216e6fb87e28c authored about 14 years ago by James Mead <[email protected]>
The following links are relevant :-
https://github.com/floehopper/mocha/issues#issue/6
http://fl...
See the following for more details :-
https://github.com/floehopper/mocha/issues#issue/15
http:/...
fdcb1503906293745444d8bf49ee624fa7839f75 authored about 14 years ago by James Sanders <[email protected]>
In some instances the teardown function may also throw and exception meant to
be passed along to...
89a334f490fc8e01d02e4a7c4ff0afbb323f0ef9 authored about 14 years ago by James Mead <[email protected]>
48ab59a6fb78edafea7f1f4b0fdeadf4cda305fc authored about 14 years ago by James Mead <[email protected]>
ee3a79db4d52c3339e8acf07505e01236a2b4810 authored about 14 years ago by James Mead <[email protected]>
c0cf25b333c5accef258a87f96173e9486f8b6b4 authored about 14 years ago by James Mead <[email protected]>
2e0b80af86baf1e92c62dee0123b73335085d454 authored about 14 years ago by James Mead <[email protected]>
e0a00a7b2adf8f11d3679879df9a5c47a5c36189 authored over 14 years ago by James Mead <[email protected]>
d843a1a4233073aff51c6c9f3128df71e7e28538 authored over 14 years ago by James Mead <[email protected]>
d1715ffe4c85a672383088e48c2e013417bde463 authored over 14 years ago by James Mead <[email protected]>
fc4fc75ef34d98eaec052f5d029a1d283c2f2b15 authored over 14 years ago by James Mead <[email protected]>
5fd8b204c92a66355ea96303cf089ff556ea50ca authored over 14 years ago by James Mead <[email protected]>
Thanks to a suggestion from Rohit Arondekar (rohit).
6778ec18da47ef17a76144083b702f170b496c52 authored over 14 years ago by James Mead <[email protected]>befde5c359286d110799ff1b925bc0834bcfa5b9 authored over 14 years ago by reddavis <[email protected]>
I've added various debug warning statement in recent commits, but these should not be enabled by...
cdfe7db1eeda40fc537418aabf70fc8c2662e251 authored over 14 years ago by James Mead <[email protected]>When test-unit gem >=v2.0.0 was installed but the "use_test_unit_gem" MOCHA_OPTION was not speci...
02e37c9c91222ffa296a01f20e551bc47bb201bf authored over 14 years ago by James Mead <[email protected]>This is an attempt at a fix for the problem that James Adam reported [1]. By using 'load' instea...
22599b8bbc99f72b8c33f76df479591a129b3798 authored over 14 years ago by James Mead <[email protected]>ff109bb2849cb49a92620e766bdfa4e49ed6c2be authored over 14 years ago by James Mead <[email protected]>
This test imposed too many constraints. It appears that
Object#inspect legitimately calls Object...
I've had a number of people suggesting an extension to the API
to cope with custom exceptions th...
It appears that it is no longer possible to subvert the protection
of a method by calling it via...
There are still 4 failures because for some reason the backtrace line numbers
are off by one. An...
b7ef80234de9a2242c11634618f24470a833b906 authored over 14 years ago by Eloy Duran <[email protected]>
5e962089dbed419eaf0bff9fc643217e2cb00658 authored over 14 years ago by James Mead <[email protected]>
565947a4f27b9b91c016306e300773dbd5d3a613 authored over 14 years ago by James Mead <[email protected]>
71bdef5ec46b16eafdc21ed2e502aaef8e56b36c authored over 14 years ago by James Mead <[email protected]>
Because Mocha effectively replaces the Test::Unit::TestCase#run
method, we need to ensure that a...
b5983808ccd63cc94858ddf87278685866dee923 authored over 14 years ago by James Mead <[email protected]>
Because Mocha effectively replaces the MiniTest::Unit::TestCase#run
method, we need to ensure th...
55f431a7dc0797b54ee5dbd3256ee59cbb175499 authored almost 15 years ago by Luke Redpath <[email protected]>
26cbd02108173a71c2cc4bcb4f7a36d90fef6a2b authored almost 15 years ago by Luke Redpath <[email protected]>
This provides an alternative syntax for expecting any or all matchers to
pass, e.g. foo.expects(...