Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/freerange/mocha.methods
https://github.com/freerange/mocha.methods
@voxik wanted to run the tests by simply requiring the files rather than
running the rake task. ...
Given a method which is re-declared with a different visibility lower
down the ancestor chain, a...
This is useful if you have a class that is awkward to instantiate. The
implementation uses `Clas...
6e31521b0308dec4207654c34eb2530955327ccb authored about 12 years ago
Elsewhere we are using `# =>` to display the expected output and not
using `Test::Unit::Assertio...
fcf337b9235c9d5cc6211edf3660e7c325e81997 authored about 12 years ago
- I don't abbreviated variable names or variable names with digits in
them, so I've got rid of...
Explicitly populate the key and value in different cases, rather than using flatten.
Untested bec...
I suspect there may be a lot of libraries out there that are requiring
"mocha" directly will now...
da57144d78be18f72c2fac8518084081c11965ac authored about 12 years ago
252e37be2f4f1b58b116141f8fd30c4adc70dae2 authored about 12 years ago
638d3820b22d00985ede36e0b23dcdfc9e80bcd0 authored about 12 years ago
62e8fefc91589de09bcf00a1aae95f66002aaa55 authored about 12 years ago
Fixes Travis link in readme
e33bcb581c0b0e2426622fbf28dc02b2a5312c79 authored over 12 years ago012f1dce8027ed51e86c8d0162dbe2cd6637ee4f authored over 12 years ago
8eec2a654f11e74a1edec2395a05e10c6430ddc8 authored over 12 years ago
9f2987ffc1de076532e802766ddbedf42f8d9823 authored over 12 years ago
`require 'mocha/api'` is not the definitive way to integrate a test
library with Mocha.
The idea of these files was to provide a way to explicitly integrate
with either MiniTest or Tes...
The latter is now deprecated.
bd0a9bc165f58c736bdd0ef70edc43e7a7899cde authored over 12 years ago59f70fb8db2ce2462f7247a8e89d639ba3f44139 authored over 12 years ago
This was originally fixed in 7a84e44b99853c9753589d6a1c5164d3b57f16e3.
781d68e9335a29d31f4859b3f1fc95346d022b8a authored over 12 years ago
* For the moment, `require 'mocha'` will continue to work as before, but
will issue a deprecat...
I'm about to issue some important deprecation warnings, so I want as
many people as possible to ...
c52f6d0f3afa483c18b8b216a14c0c80adcf729b authored over 12 years ago
This should speed up the build time.
9cb6ae21645981cf77e5b91f1fb76cdd4a1eb238 authored over 12 years agoTo improve test coverage.
ee0474040906d8a0693b65daa1f14011e75fa3d3 authored over 12 years ago
These require statements meant that Test::Unit was always loaded when
Mocha was loaded. This is ...
These Integration modules ought to be able to decide whether or not they
are appropriate for the...
Based on a suggestion from @lazyatom. Thanks!
Now integration only happens when the newly intro...
2f8ae7278376915c5f5e74701f675a63e04d8169 authored over 12 years ago
`mocha/configuration` is required via `mocha/api` and `mocha/mockery` so
this top-level require ...
Mock#respond_to? doesn't work with a string argument
5b44f40e8c8bd47c939a876d980619ad841c5d0a authored over 12 years ago
To more closely mimic ruby's `#respond_to?` behaviour,
MethodMatcher#match? will now return true...
a54ea3bedc4d4ad97f817da7cdd447818b320925 authored over 12 years ago
a8460cb21b152f47e12f1d250ade207078ba9222 authored over 12 years ago
87a9c9c2440a60b92b3551b797c91e29ff4e4074 authored over 12 years ago
286406b8942e0572ce95d932824116515b2a50dc authored over 12 years ago
Using a link to Github's contributors graph reduces the maintenance
overhead of keeping the list...
eedefc05a1237ed5fc02cfbfcfc1a6784a51b1ed authored over 12 years ago
This reverts commit 0d835123d7f4d641461c0e6b0b9d023150dd8f9e.
These tests are used by the perfo...
70d8934bdcb609d4518332f8ae3484586e7a34ff authored over 12 years ago
* This was achieved by setting `Gem::Specification#has_rdoc` to
`"yard"`.
* I also found it wa...
This is part of an effort to make the documentation render correctly
on both Github and elsewhere.
9db262c83125138beac6fb546bae1a857cd1949f authored over 12 years ago
Although v0.11.0 was yanked at one point, it was re-instated fairly soon
afterwards.
d1c8564209c3cd28acc6c858ac2159dd71ad6ec3 authored over 12 years ago
This is part of an effort to make the documentation render correctly
on both Github and elsewhere.
This is part of an effort to make the documentation render correctly
on both Github and elsewhere.
This is part of an effort to make the documentation render correctly on
both Github and elsewher...
I was seeing the following error :-
[error]: Missing 'redcarpet' gem for Markdown formattin...
04ccc449fb395740f5bc803d03ebee7bedfa9449 authored over 12 years agoThis reverts commit 22c4422e3511d461193b96df194925261bcb00c8.
This commit didn't solve the prob...
cd90b3e7af90f37e68be8977dc2600d756fe6fa5 authored over 12 years agoe31ed359c7d2f7b592bfb21db8847295eaa6cb88 authored over 12 years ago
19dbf24edfb01642ef98e8f54e9c6d72def558ff authored over 12 years ago
9cb66504f4dca91bba0ddaa59729aadf4102d60e authored over 12 years ago
6f735db48a5263af11eb0ef09022ccbeedca146e authored over 12 years ago
Still need to add some more documentation to the README, but this is a
good start.
b0cf6200bff6cf44f77f54ba36a78875eda37208 authored over 12 years ago
b2ea92aecabbf35dd376066916f0ee33164e93bc authored over 12 years ago
d06d0fa66e40fc8d0884cdabe72499639121e02c authored over 12 years ago
bcf4a1f635d72cef57c4404279b1e1643aecc7fa authored over 12 years ago
9a79c6fa51df1c79fd8dfa939ce89dfd05adff86 authored over 12 years ago
7ce998e8b42d86f6c9523113e8a03eeaeffc7bdc authored over 12 years ago
I think it's now more confusing for them to be somewhere different.
After all the only differenc...
41062842e5b5b4d0fabf7662743740bb4ff0aeaa authored over 12 years ago
9988e7748d5dc8cc2f2c9519f2c319109ba27367 authored over 12 years ago
Also improved the level of isolation between these tests and other
tests by only including the m...
1e20ea1ccb2fea83f6df63e8ebd5d24dc31617a4 authored over 12 years ago
1b2c36dca338300cc9caa953dbc8e8d1cf560019 authored over 12 years ago
While using Test::Unit's #add_assertion method might somehow be more
*correct*, I can't see how ...
b192b4d8ff783bce2b91ad600bdae02e729a5a98 authored over 12 years ago
c84f63e28cb30d57e1ef1bcd2b9e71e957fab593 authored over 12 years ago
a1dc32b494464bb9075acb4b92713b6edfd2059d authored over 12 years ago
6f509b164accb0b2ac1bf25949df8657a3bf9e95 authored over 12 years ago
Also make each MiniTest patch responsible for describing itself.
da72339d93baca6033f21847dead1fb4318e7b92 authored over 12 years agoAlso make each Test::Unit patch responsible for describing itself.
a8d349a7146bef0c26f0e96ff70328a98bdb8bc8 authored over 12 years ago
Although currently no code is run within `#mocha_setup`, it makes more
sense to run it before an...
* The so-called "adapter" tests are really integration tests in the
sense that they check that M...
No more monkey-patching! Yay!
d06df7f205805ed162748726a14c3b9e28d14b8a authored over 12 years agoNo more monkey-patching! Yay!
df0af0013b8f4cf0ab493ceeff87101dd2484b34 authored over 12 years ago
* It's reassuring to see that the changes I independently arrived at
in e9d05cc2acf3a0bf5fbc78...
c.f. f4ad99ca8ef44f8f911fc747ce8bb42b23f0746a for the MiniTest
equivalent.
I'm not sure whether...
ad4516c06ca63b136ffce4bab79ef31fb72bb6d9 authored over 12 years ago
* It turns out that Test::Unit::AssertionFailedError is derived from
StandardError; whereas Mi...
By doing this I hope to make it easier to do something different for the
most recent versions wh...
Hopefully this makes it a bit easier to see what's going on and I
hope it will allow me to furth...
The version checking probably does belong with the adapter itself, but
it was causing problems s...
913335d56ca9c92c3cc553a5457eb64c8a52ddf8 authored over 12 years ago
It might still be nice to have an example of how to write an adapter for
another test framework,...
By doing this I hope to make it easier to do something different for the
most recent versions wh...
Hopefully this makes it a bit easier to see what's going on and I hope
it will allow me to furth...
These require statements don't actually "do" anything and everything
they define is nicely names...
Also remove redundant require statements.
ab67152217d6344bb803e71971fa33120bd06596 authored over 12 years ago
This provides a simple way to use the new adapters when you want *all*
your test cases to have M...
Both in local build matrix script and (hopefully) in Travis CI.
1ebbbe4934bf012e003fe1e1ddc186d1e7d7fc71 authored over 12 years ago
It was easier to merge rather than re-base in this case, because of the
back and forward of the ...
This is to match up with the reverted commit [1] in master.
06295c96f07e53f6c7b35a57859db79f7ba2ea14 authored over 12 years ago
This is because I want to rename MonkeyPatching back to Integration as
in master [1], but I want...
71dcb990da888df00032e14f6585184e7cc48675 authored over 12 years ago
Add development instructions to README
33b1ef1516b0a22a9ba488767c47218aab30c130 authored over 12 years agoThe clumsy code is needed to avoid a regression of #76 in Ruby 1.8.
09590b43effd45d1a06fe548c9398686d3e008ef authored over 12 years ago
@tandem-softworks correctly pointed out that the code was overly
complicated and introduced an u...
43c1c1640dfdd80ac00ac67607f8ba2fad0cb49a authored over 12 years ago