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
Added primitive performance test to default rake task.
58acf4d133ff671ff1de6b1cf0860d88a1b56d42 authored over 16 years ago
58acf4d133ff671ff1de6b1cf0860d88a1b56d42 authored over 16 years ago
More performance improvements.
a4316f7fd77dd93f7d176e0936e0be90a3e5ed49 authored over 16 years ago
a4316f7fd77dd93f7d176e0936e0be90a3e5ed49 authored over 16 years ago
More performance improvements.
3d6d8c8cbe66ee197beb2fabff8d18a3db5695f1 authored over 16 years ago
3d6d8c8cbe66ee197beb2fabff8d18a3db5695f1 authored over 16 years ago
Now that ClassMethod#method is a string in Ruby 1.8 and a symbol in Ruby 1.9 we can simplify the implementation of all of the #method_exists? methods. These changes are also part of the speed improvements suggested by Chris McGrath.
856bb44dac9055c61e60310406815d0519dd4f8e authored over 16 years ago
856bb44dac9055c61e60310406815d0519dd4f8e authored over 16 years ago
It will make life easier if ClassMethod#method and #hidden_method are both symbols in Ruby 1.9, but strings in Ruby 1.8.
d4dfa0ee147b4853a0e71ee9b667621352fd84c0 authored over 16 years ago
d4dfa0ee147b4853a0e71ee9b667621352fd84c0 authored over 16 years ago
ClassMethod#method is normally a symbol, so it makes more sense if #hidden_method is also a symbol rather than a string.
a88a98215ee4b04323b56ca6c9822269594530b4 authored over 16 years ago
a88a98215ee4b04323b56ca6c9822269594530b4 authored over 16 years ago
Fix format of case statements which don't work in Ruby 1.9 and make others consistent.
daa0997f0af2712ecd01201443394c793f1f8874 authored over 16 years ago
daa0997f0af2712ecd01201443394c793f1f8874 authored over 16 years ago
There is no point in running (potentially expensive) checks if configuration is set to allow such checks to fail. This is a relatively quick fix in response to Chris McGrath's performance problems. In the long run I suspect there is some duplication here that could be refactored away.
caba5449f6872d7604e2f210523334369c1a1e69 authored over 16 years ago
caba5449f6872d7604e2f210523334369c1a1e69 authored over 16 years ago
Fix for bug #21161 - 'uninitialized constant Deprecation in stubba.rb'.
cef69c2221e8c7dbe4c864ea605c2afa377e7a25 authored over 16 years ago
cef69c2221e8c7dbe4c864ea605c2afa377e7a25 authored over 16 years ago
It's more readable to talk about 'once' and 'twice' rather than '1 time' and '2 times'.
105bba4d885b752a730e313d8c439866bf994c27 authored over 16 years ago
105bba4d885b752a730e313d8c439866bf994c27 authored over 16 years ago
Fix bug #20883 - never should raise when called to prevent follow up errors. Fail fast when there are no matching invokable expectations and handle the stub_everything case sensibly. This might not be entirely backwards compatible, but I think the benefits outweigh the risks. The most likely change is that a test that was already failing will now fail faster, which doesn't seem so awful.
d1380bd0601827b10b08d23fcbebe13c5c751cbd authored over 16 years ago
d1380bd0601827b10b08d23fcbebe13c5c751cbd authored over 16 years ago
Updated RELEASE to reflect released revision for 0.9.0.
9826dd977e8610a573807a276579e20eb3d37cc0 authored over 16 years ago
9826dd977e8610a573807a276579e20eb3d37cc0 authored over 16 years ago
Updated README.
85e1a74e12186a4d66308f9f2363902ec0e06a9e authored over 16 years ago
85e1a74e12186a4d66308f9f2363902ec0e06a9e authored over 16 years ago
Fixed and improved rdoc.
e162cd78caca5c8969bef779c4b02f11419b6e65 authored over 16 years ago
e162cd78caca5c8969bef779c4b02f11419b6e65 authored over 16 years ago
Fixed and improved rdoc for states.
d84ee981e8f3bdd96591ea33f7879add68fcd603 authored over 16 years ago
d84ee981e8f3bdd96591ea33f7879add68fcd603 authored over 16 years ago
Removed various TODO list items that have been completed or are unnecessary.
1d893f58540d180531936831d4f5d435815decd0 authored over 16 years ago
1d893f58540d180531936831d4f5d435815decd0 authored over 16 years ago
Should take respond_to? into account when deciding whether a method exists for the purpose of stubbing. Note that this is not currently implemented for AnyInstance or for protected or private methods.
fd630da9d1c967a94ce3a3efc18c36729eea95ab authored over 16 years ago
fd630da9d1c967a94ce3a3efc18c36729eea95ab authored over 16 years ago
Updated TODO list.
4a5bf33300284848a719f5bd4a557e7d1778dff8 authored over 16 years ago
4a5bf33300284848a719f5bd4a557e7d1778dff8 authored over 16 years ago
Removed a few more bits and pieces which should have been removed in changeset:309.
09ef64b1636b8290fb8c29a9025ed3b480ab9cbb authored over 16 years ago
09ef64b1636b8290fb8c29a9025ed3b480ab9cbb authored over 16 years ago
Removed previously deprecated usage of Expectation#returns with a Proc.
2805693b935c874f0e3de5f797db147123e0a210 authored over 16 years ago
2805693b935c874f0e3de5f797db147123e0a210 authored over 16 years ago
All StubbingErrors should have an appropriate filtered backtrace.
b152c14e38753c4a214bc4105e64c4919de31b4e authored over 16 years ago
b152c14e38753c4a214bc4105e64c4919de31b4e authored over 16 years ago
Improved implementation of ExecutionPoint in order to get better test error messages when no backtrace is supplied or an empty backtrace is supplied.
f84647c64e5617e3f96f4e55ee1045dd41d29a97 authored over 16 years ago
f84647c64e5617e3f96f4e55ee1045dd41d29a97 authored over 16 years ago
Give StubbingException a sensible backtrace at least for stubbing method unnecessarily.
689b0f911b42131870f42e1550a1660d5c0fafab authored over 16 years ago
689b0f911b42131870f42e1550a1660d5c0fafab authored over 16 years ago
Fixed a nasty bug relating to stubbing the same method twice on an active record association proxy. The association proxy was claiming not the be the same object as itself (using Object#equal?), so we use Object#object_id equality instead which seems to work.
fb5d34285900dbce20258a4f657ea1947d9d8e7c authored over 16 years ago
fb5d34285900dbce20258a4f657ea1947d9d8e7c authored over 16 years ago
Renamed acceptance test classes to match their new filenames.
e2151dfa627a420c2804d5799e6894c57a3bb646 authored over 16 years ago
e2151dfa627a420c2804d5799e6894c57a3bb646 authored over 16 years ago
Split some ruby 1.8 & 1.9 versions of the same test into two tests.
2173703f63cd96a158defef229411074f804a12f authored over 16 years ago
2173703f63cd96a158defef229411074f804a12f authored over 16 years ago
Split some ruby 1.8 & 1.9 versions of the same test into two tests.
e4e1d68dfaf3bcbbcf9deba4c511be908521833f authored over 16 years ago
e4e1d68dfaf3bcbbcf9deba4c511be908521833f authored over 16 years ago
Split some ruby 1.8 & 1.9 versions of the same test into two tests.
957b381822d1e370567d5e82ad2bbcc29b22798a authored over 16 years ago
957b381822d1e370567d5e82ad2bbcc29b22798a authored over 16 years ago
Split some ruby 1.8 & 1.9 versions of the same test into two tests.
9c7d3a53133a63fac2d05b0b2d49593534b88fb7 authored over 16 years ago
9c7d3a53133a63fac2d05b0b2d49593534b88fb7 authored over 16 years ago
Removed the word 'acceptance' from acceptance test names - they are all in the acceptance directory after all.
2c2f5596f8d5b89b38c82d8550de568f7c57cb34 authored over 16 years ago
2c2f5596f8d5b89b38c82d8550de568f7c57cb34 authored over 16 years ago
Added configurable warnings or errors when a method on a non-public method is stubbed.
0d01afb694d22370bd24776c88ee5ec1fc471732 authored almost 17 years ago
0d01afb694d22370bd24776c88ee5ec1fc471732 authored almost 17 years ago
Added configurable warnings or errors when a method on a non-existent method is stubbed. I'd have liked to make the default behaviour provide warnings, but ActiveRecord doesn't implement respond_to? correctly e.g for dynamic finders.
32ab74f2724088670c51a82a6437d923b1063623 authored almost 17 years ago
32ab74f2724088670c51a82a6437d923b1063623 authored almost 17 years ago
Fix bug #18914 - Classes that override '==' are likely to experience mocking 'failures' (where the original method is called instead of the mocked method). Use #equal? instead of #== or #eql? on stubbee to determine whether ClassMethod instances are equivalent.
c690efde13de8104ebc910ff829d77745820cd25 authored almost 17 years ago
c690efde13de8104ebc910ff829d77745820cd25 authored almost 17 years ago
Fix bug #18917 - any_of seems to be broken. Also fix similar but less significant bug with all_of.
0fcde319e290e7a27287a24d1829e4907598ce7c authored almost 17 years ago
0fcde319e290e7a27287a24d1829e4907598ce7c authored almost 17 years ago
Ooops. Fix broken build.
3ed2dd0a6b6b5c6ba7734948940025dfeb0aca43 authored almost 17 years ago
3ed2dd0a6b6b5c6ba7734948940025dfeb0aca43 authored almost 17 years ago
Added hyphens when listing unsatisfied expectations, satisfied expectations and states, so that the regular expression in TextMate's Ruby bundle run_script.rb doesn't mistake a Mocha error message for a stack trace line.
35ee18288f0bc8a0d5d3b66908640c4c9670610b authored almost 17 years ago
35ee18288f0bc8a0d5d3b66908640c4c9670610b authored almost 17 years ago
Nasty fix so that TestCaseAdaptor works consistently with earlier versions of Test::Unit as well as more recent versions.
917e23bbd24b269575f9a0f4b42279617cba14f0 authored almost 17 years ago
917e23bbd24b269575f9a0f4b42279617cba14f0 authored almost 17 years ago
Added configurable warnings or errors when a method on a non-mock object is stubbed. This may be useful for hard-core mockists.
6311d25c1637438b166a80611c61d0e56bb2c9c4 authored almost 17 years ago
6311d25c1637438b166a80611c61d0e56bb2c9c4 authored almost 17 years ago
Added configurable warnings or errors when a method is stubbed unnecessarily i.e. the stubbed method is not called during the test.
54c2b63ea45c7a7d70e13fa284b59128966c520c authored almost 17 years ago
54c2b63ea45c7a7d70e13fa284b59128966c520c authored almost 17 years ago
Fixed and uncommented tests accidentally left commented in revision 287.
929fc8be67fd437d64fe961a6282ad6df5cf00c7 authored almost 17 years ago
929fc8be67fd437d64fe961a6282ad6df5cf00c7 authored almost 17 years ago
Fake version of public_methods, protected_methods & private_methods should have a default parameter value to more accurately represent reality.
228cd6e9ae4ef9c744cc2c27387b354e13346742 authored almost 17 years ago
228cd6e9ae4ef9c744cc2c27387b354e13346742 authored almost 17 years ago
Fix bug #18336 - private methods not left properly unchanged after stubbing. And related bugs. Added much more extensive acceptance level testing around this area.
705d9ba5c40c64e940a711bd2b09b931733adc97 authored almost 17 years ago
705d9ba5c40c64e940a711bd2b09b931733adc97 authored almost 17 years ago
Use acceptance test helper in stubba_acceptance_test.
0d176c3ee022ffc10b16c44c095b3584d1bcd38a authored almost 17 years ago
0d176c3ee022ffc10b16c44c095b3584d1bcd38a authored almost 17 years ago
Introduced acceptance test helper.
134591d92450f0b3189435a20a926fdc74d2a6c5 authored almost 17 years ago
134591d92450f0b3189435a20a926fdc74d2a6c5 authored almost 17 years ago
Reverted revision 283 - seems like it breaks a bunch of tests with Rails association proxies and dynamically added attributes. Probably need to provide a fix in the Rails plugin...?
c376f1e2cea81a27dace829504950fdb202715aa authored almost 17 years ago
c376f1e2cea81a27dace829504950fdb202715aa authored almost 17 years ago
Fixed bug #18336 - private methods not left properly unchanged after stubbing. Note that test assertions have to take account of the fact that in Ruby 1.9 Object#private_methods, Object#protected_methods & Object#public_methods return an array of symbols instead of an array of strings as in Ruby 1.8.
4c9c44ad96c9009ab3452b5fa4245cea585b302a authored almost 17 years ago
4c9c44ad96c9009ab3452b5fa4245cea585b302a authored almost 17 years ago
Make StubbaAcceptanceTests more self-contained.
37b5ad7604152dc8e23eacfd0f3d61bb355d962d authored almost 17 years ago
37b5ad7604152dc8e23eacfd0f3d61bb355d962d authored almost 17 years ago
Removed unused lines from Mockery#verify.
c544cc8952ba98471f828d3e08aa12d213acc8bf authored almost 17 years ago
c544cc8952ba98471f828d3e08aa12d213acc8bf authored almost 17 years ago
Make ExpectationRaiser deal with subclasses of Interrupt which seem to need a message supplied in the raise statement in Ruby 1.8.6 (but not 1.8.4 or 1.9). Not sure this is really Mocha's responsibility.
c24b5bb9f3853f58f4f54342151b4b7e54a16856 authored almost 17 years ago
c24b5bb9f3853f58f4f54342151b4b7e54a16856 authored almost 17 years ago
Fix ruby 1.9 warning caused by test.
be39ec53326059285a159c8a3856fbcd3e50abee authored almost 17 years ago
be39ec53326059285a159c8a3856fbcd3e50abee authored almost 17 years ago
Method had accidentally been duplicated.
3d80be69585b0bd769a209c29e36800017e24947 authored almost 17 years ago
3d80be69585b0bd769a209c29e36800017e24947 authored almost 17 years ago
ExpectationList#similar_expectations is no longer used.
887e7bc94b44c4071a5aefb6c8e17e30a1c2937b authored almost 17 years ago
887e7bc94b44c4071a5aefb6c8e17e30a1c2937b authored almost 17 years ago
Refactored duplication out of test by adding functionality to TestRunner.
384171adb8747e2384dd58b1d108c58c7021df86 authored almost 17 years ago
384171adb8747e2384dd58b1d108c58c7021df86 authored almost 17 years ago
Provide a user-friendly list of unsatisfied expectations, satisfied expectations and state machines when an unexpected invocation occurs. Inlined MissingExpectation into Mock. Added acceptance test for unexpected invocation scenario.
991194ecfad02e7906432b7677cd245bdf485102 authored almost 17 years ago
991194ecfad02e7906432b7677cd245bdf485102 authored almost 17 years ago
Test was passing accidentally.
139a224bd5941ea7f3d673bf478dd79022bbc323 authored almost 17 years ago
139a224bd5941ea7f3d673bf478dd79022bbc323 authored almost 17 years ago
Provide a user-friendly list of unsatisfied expectations, satisfied expectations and state machines when at least one expectation is not satisfied.
323548384c1d283a73b3283a6d07d0daea21d8f0 authored almost 17 years ago
323548384c1d283a73b3283a6d07d0daea21d8f0 authored almost 17 years ago
Store state machines in mockery so we can eventually display their state in any error message.
69963851a3543974679b6c39c7d32eeeb4b07684 authored almost 17 years ago
69963851a3543974679b6c39c7d32eeeb4b07684 authored almost 17 years ago
Central#verify_all and #unique_mocks are no longer used - all mocks are now kept in the Mockery and verified from there.
0d5644a8f9b553cdb7005f22dacbc146847711f4 authored almost 17 years ago
0d5644a8f9b553cdb7005f22dacbc146847711f4 authored almost 17 years ago
Improved expectation error messages by moving method signature to after the expected and actual invocation counts. Also made unexpected invocation message more distinct.
499e93a8f4c675a184bcd57990da450969188b85 authored almost 17 years ago
499e93a8f4c675a184bcd57990da450969188b85 authored almost 17 years ago
Avoid ruby warnings for private accessor.
c9da3d51ef74251220bf5d9605c79ee0b12ce959 authored almost 17 years ago
c9da3d51ef74251220bf5d9605c79ee0b12ce959 authored almost 17 years ago
Simplified cardinality logic.
95dd49d7966c890297e7a711f5cd10d5214784cc authored almost 17 years ago
95dd49d7966c890297e7a711f5cd10d5214784cc authored almost 17 years ago
Improved readability of cardinality description.
a1690623a9ace00bf6e2cf9c5eb81da0737be7d5 authored almost 17 years ago
a1690623a9ace00bf6e2cf9c5eb81da0737be7d5 authored almost 17 years ago
No need to call Standalone#mocha_setup from test_case_adapter. Leaving mocha_setup in place for the moment, because it is probably used by test_spec, rspec, et al.
f8d8b8e26bf000c45ec20a2498508f434ad2af33 authored almost 17 years ago
f8d8b8e26bf000c45ec20a2498508f434ad2af33 authored almost 17 years ago
Move mock naming classes into separate file and inline mock class methods into mockery methods.
0efa53eb98ba98beec6a756e19ad81cb8d9d4c05 authored almost 17 years ago
0efa53eb98ba98beec6a756e19ad81cb8d9d4c05 authored almost 17 years ago
Lazily instantiate stubba object in Mockery.
a8c2ee44402abcf5ce8519f9039d1c559d656cdd authored almost 17 years ago
a8c2ee44402abcf5ce8519f9039d1c559d656cdd authored almost 17 years ago
Comment out rcov task to fix cruise build - rcov not installed and not vendorized.
68dd3e3dc421bcfc6235618e4fbfdef07b062953 authored almost 17 years ago
68dd3e3dc421bcfc6235618e4fbfdef07b062953 authored almost 17 years ago
Introduce Mockery#mocks accessor.
d5e457cce8c9b1cceb12cf3f095905f5aca2b1f0 authored almost 17 years ago
d5e457cce8c9b1cceb12cf3f095905f5aca2b1f0 authored almost 17 years ago
Extract add_mock private method in Mockery.
4093ac8db4d7f86f64eff7c3dc2fb3cc799f2c36 authored almost 17 years ago
4093ac8db4d7f86f64eff7c3dc2fb3cc799f2c36 authored almost 17 years ago
Namespaced test rake tasks. Use strings consistently for rake task namesAdded rcov rake task.
2e5eccb4a65e5c13c5f803c1bd8f047d67c588b7 authored almost 17 years ago
2e5eccb4a65e5c13c5f803c1bd8f047d67c588b7 authored almost 17 years ago
Replace $stubba global variable with instance variable inside Mockery. A Mockery instance is stored in a class instance variable to provide access.
5d858648adbe97b84c115b556e54817c60d5bae4 authored almost 17 years ago
5d858648adbe97b84c115b556e54817c60d5bae4 authored almost 17 years ago
Fixed test case class name.
b94d549824c7f0722c8f817a7e59bcde1b064dc4 authored almost 17 years ago
b94d549824c7f0722c8f817a7e59bcde1b064dc4 authored almost 17 years ago
Removed some implementation-specific unit tests and ensured equivalent coverage is provided by existing or new black-box tests.
2563e64cef4431faeef083c7d2f776d684502e56 authored almost 17 years ago
2563e64cef4431faeef083c7d2f776d684502e56 authored almost 17 years ago
Added deprecation warning in stubba.rb which is no longer needed and will be removed.
0e92384f78dd0a8cb378a5770f405a160d30210d authored almost 17 years ago
0e92384f78dd0a8cb378a5770f405a160d30210d authored almost 17 years ago
Attempt at fixing bug #17835 "Handle more exceptions". Updated TestCaseAdapter to match latest Test::Unit::TestCase.
c3c6a5ab7d57e0bcc98a9af561a31dc8145c63e5 authored almost 17 years ago
c3c6a5ab7d57e0bcc98a9af561a31dc8145c63e5 authored almost 17 years ago
Tests were accidentally passing due to nested test cases.
9681c7fbe9599e7233c6508977a854520afee351 authored almost 17 years ago
9681c7fbe9599e7233c6508977a854520afee351 authored almost 17 years ago
Corrected mistake in object.rb - don't think it had any repercussions.
f91e82af4ffaa191be61d7a9eccd22eea1d9f133 authored almost 17 years ago
f91e82af4ffaa191be61d7a9eccd22eea1d9f133 authored almost 17 years ago
Refactored AutoVerify and SetupAndTeardown into Standalone and new Mockery class.
edc457fe8781478e01f0acd6b25cce7c32fcadc4 authored almost 17 years ago
edc457fe8781478e01f0acd6b25cce7c32fcadc4 authored almost 17 years ago
Acceptance test to check that stubs return correct return values.
d80670f93ccea8abfedf577100c3017bcc75432f authored almost 17 years ago
d80670f93ccea8abfedf577100c3017bcc75432f authored almost 17 years ago
Add acceptance test to check multiple expectations are verified.
750aba586a6cb703a4933e9d64d3e5e158b84f7f authored almost 17 years ago
750aba586a6cb703a4933e9d64d3e5e158b84f7f authored almost 17 years ago
Improve acceptance test coverage prior to some refactoring.
d8dd40b9264652636009366e8f4ec669acbe1640 authored almost 17 years ago
d8dd40b9264652636009366e8f4ec669acbe1640 authored almost 17 years ago
No need to include TestCaseAdapter and Standalone into TestRunner's test case instance (requiring 'mocha' in acceptance tests will have achieved this anyway).
f76e60a48baa47becb8911a74f413de7957006e2 authored almost 17 years ago
f76e60a48baa47becb8911a74f413de7957006e2 authored almost 17 years ago
Tidied up rdoc for parameter matchers.
d88ef3ef6d9f6af74717a93ef7aaa5b8c9d54537 authored almost 17 years ago
d88ef3ef6d9f6af74717a93ef7aaa5b8c9d54537 authored almost 17 years ago
Display sensible failure message for any_instance expectations e.g. "#<AnyInstance:Foo>.bar - expected calls: 1, actual calls: 0"
2330f1647dacb9eae87596b17cd13aaba2bbf957 authored almost 17 years ago
2330f1647dacb9eae87596b17cd13aaba2bbf957 authored almost 17 years ago
has_key, has_value, has_entry and has_entries parameter matchers should allow nested matchers.
c02d323c4ca6957569f80074b605fd14167675b7 authored almost 17 years ago
c02d323c4ca6957569f80074b605fd14167675b7 authored almost 17 years ago
No longer any need for separate Stub class derived from Expectation.
07fdb1af00450deaeb5ff02a136a74305aaf6c68 authored almost 17 years ago
07fdb1af00450deaeb5ff02a136a74305aaf6c68 authored almost 17 years ago
Introduce assertion_counter parameter to make things all the nastiness more explicit as a first step to making things better...? If nothing else this illustrates that a lot of classes and modules are involved in counting assertions for Test::Unit.
d5cd29029ae7a39d1ca77d6ed9187153fc64ea1f authored almost 17 years ago
d5cd29029ae7a39d1ca77d6ed9187153fc64ea1f authored almost 17 years ago
Further refinement of fix for bug #17412 - Failure messages always say 'Mock' even when receiver is another type.
c58774b83b42c5996b8acdf6125c2076f65a0ef8 authored almost 17 years ago
c58774b83b42c5996b8acdf6125c2076f65a0ef8 authored almost 17 years ago
Fixes bug #17412 - Failure messages always say 'Mock' even when receiver is another type.
36578d5b7b0c2af12dcb7aec262f080aa3607f2c authored almost 17 years ago
36578d5b7b0c2af12dcb7aec262f080aa3607f2c authored almost 17 years ago
This acceptance test seems to have got left lying around - looks like I forgot to svn add it at some point recently.
065e72b50c15db7904ea1ddbca7039e48fa003a5 authored almost 17 years ago
065e72b50c15db7904ea1ddbca7039e48fa003a5 authored almost 17 years ago
Moved last integration test to acceptance tests and removed rake task to run integration tests.
75bb4c733007cd559c6ba1d0bcf5d45ffe547849 authored about 17 years ago
75bb4c733007cd559c6ba1d0bcf5d45ffe547849 authored about 17 years ago
Remaining integration test should use TestRunner module.
c76dd939979c392320dbc8ff420b1c823cc4ca87 authored about 17 years ago
c76dd939979c392320dbc8ff420b1c823cc4ca87 authored about 17 years ago
Renamed original acceptance tests to example tests.
3b427f22aad64cec8644ee8a5af0dfcf9dcca8a2 authored about 17 years ago
3b427f22aad64cec8644ee8a5af0dfcf9dcca8a2 authored about 17 years ago
Moved another integration test to acceptance tests and use TestRunner module.
99d2fe3f028a6ca6b58ac196fb7c376102454e36 authored about 17 years ago
99d2fe3f028a6ca6b58ac196fb7c376102454e36 authored about 17 years ago
Renamed test file to avoid ambiguity and renamed test class to be consistent.
ff714b511ec341fc8fe18bad1ca4ec314d6a0d2b authored about 17 years ago
ff714b511ec341fc8fe18bad1ca4ec314d6a0d2b authored about 17 years ago
Moved one integration test to acceptance test and used TestRunner module.
e78c928b0e4b482a633803238a9ce258d99e9cee authored about 17 years ago
e78c928b0e4b482a633803238a9ce258d99e9cee authored about 17 years ago
Supply positioning information to evals to improve any error messages. See http://ola-bini.blogspot.com/2008/01/ruby-antipattern-using-eval-without.html
6dab4a1c3bece05761b8bf9a13e360e17905cb5c authored about 17 years ago
6dab4a1c3bece05761b8bf9a13e360e17905cb5c authored about 17 years ago
Added StateMacine#become to allow manual state changes.
34b82655012a9acf60a65a7e692808ca7bf29d32 authored about 17 years ago
34b82655012a9acf60a65a7e692808ca7bf29d32 authored about 17 years ago
Tidied up rdoc.
22b2c2dc1dbb909386b0ba569d391a5e9d102338 authored about 17 years ago
22b2c2dc1dbb909386b0ba569d391a5e9d102338 authored about 17 years ago
Test case names were inconsistent, which, in one case, led to an overlapping test name.
f45ca36724f04d159af3c5056e98265b57a19f65 authored about 17 years ago
f45ca36724f04d159af3c5056e98265b57a19f65 authored about 17 years ago
It's often useful to be able to test how a parameter quacks, rather than whether it's actually a duck.
b395c74ac5ed0d95bb0feabd0edc8a1c541b6c55 authored about 17 years ago
b395c74ac5ed0d95bb0feabd0edc8a1c541b6c55 authored about 17 years ago