Commit Graph

  • 8959d28b38
    Cleaner call capture and logging for missing methods in doubles Michael Miller 2022-10-23 21:54:12 -0600
  • 39e4f8e37a
    Use `build` instead of `capture` for `none` Michael Miller 2022-10-23 21:53:24 -0600
  • e2130d12d3
    Implement arguments case equality Michael Miller 2022-10-23 20:42:08 -0600
  • 0177a678f9
    Avoid shadowing variable Michael Miller 2022-10-23 20:40:56 -0600
  • a728a037d4
    Rename attributes Michael Miller 2022-10-23 15:37:55 -0600
  • 163f94287e
    Fix Arguments to_s Michael Miller 2022-10-23 15:27:39 -0600
  • e38e3ecc32
    Initial rework of arguments to support named positionals Michael Miller 2022-10-23 15:22:50 -0600
  • 70d0009db5
    Disable issue 47 test for now Michael Miller 2022-10-09 18:23:39 -0600
  • d9082dab45
    Test behavior and for leakages with allow syntax Michael Miller 2022-10-09 17:14:20 -0600
  • b3aa2d62c0
    Ensure stubs don't leak between examples Michael Miller 2022-10-09 16:59:39 -0600
  • c6afa0adb3
    Use different value than original Michael Miller 2022-10-09 16:58:56 -0600
  • bc0a9c03c9
    Remove runtime compilation tests Michael Miller 2022-10-09 16:47:54 -0600
  • 11e227b29f
    Simplify method receiver conditional Michael Miller 2022-10-09 16:24:28 -0600
  • 8e83edcc35
    Simpler conditional block inclusion Michael Miller 2022-10-09 16:04:07 -0600
  • 090c95b162
    Ensure stubs defined with allow syntax are cleared Michael Miller 2022-10-09 15:48:00 -0600
  • 2516803b0d
    Add spec for GitHub issue 47 Michael Miller 2022-10-09 15:33:19 -0600
  • e9d3f31ac3
    Use harness' cleanup instead of defer Michael Miller 2022-10-09 15:32:32 -0600
  • 5c910e5a85
    Clear stubs defined with `expect().to receive()` syntax after test finishes Michael Miller 2022-10-09 13:57:28 -0600
  • 25b9931002
    Add ability to remove specific stubs Michael Miller 2022-10-09 13:38:29 -0600
  • 422b0efa59
    Update test to account for fix in Crystal 1.6 Michael Miller 2022-10-09 12:33:31 -0600
  • c1e1666449
    Formatting Michael Miller 2022-10-08 14:05:53 -0600
  • 4dfa5ccb6e
    Prevent defining stubs on undefined methods in LazyDouble Michael Miller 2022-10-08 14:04:02 -0600
  • 1998edbbb2
    Release v0.11.3 v0.11.3 Michael Miller 2022-09-03 16:48:15 -0600
  • 079272c9de
    Add spec for custom matchers docs Michael Miller 2022-09-03 16:41:03 -0600
  • ccdf9f124b
    Add require statements and namespace Value Michael Miller 2022-09-03 16:35:38 -0600
  • 7549351cce
    Match tense of failure block component Michael Miller 2022-08-29 21:13:58 -0600
  • 0505f210f9
    Update CHANGELOG Michael Miller 2022-08-29 20:56:26 -0600
  • 9d6d8de72f
    Show error block for forced failure - `fail` Michael Miller 2022-08-29 20:53:48 -0600
  • 027521a7bc
    ErrorResultBlock only needs the exception, not an ErrorResult Michael Miller 2022-08-29 18:00:32 -0600
  • d10531430c
    Bump v0.11.2 v0.11.2 Michael Miller 2022-08-07 15:23:05 -0600
  • b5c61f9003
    Change `-e` to use partial instead of exact match Michael Miller 2022-08-07 15:20:17 -0600
  • 17a3ca3ac7
    Fix https://gitlab.com/arctic-fox/spectator/-/issues/77 Michael Miller 2022-08-07 14:58:09 -0600
  • 02027cda53
    Bump version 0.11.1 v0.11.1 Michael Miller 2022-07-18 19:48:43 -0600
  • 18e9c1c35d
    Workaround issue with Box.unbox causing segfault Michael Miller 2022-07-18 19:47:34 -0600
  • 95764140ee
    Add spec for GitLab issue 51 Michael Miller 2022-07-14 22:01:33 -0600
  • 61dee8d7db
    Release v0.11.0 v0.11.0 Michael Miller 2022-07-14 20:51:48 -0600
  • f4c5caa656
    Update checklist Michael Miller 2022-07-14 20:50:28 -0600
  • 7e09016e5c
    Add count modifiers for have_received matcher Michael Miller 2022-07-14 20:46:52 -0600
  • e2e33e440b
    Add link Michael Miller 2022-07-14 19:59:47 -0600
  • d14a2fa27e
    Change "title" Michael Miller 2022-07-14 19:59:14 -0600
  • d6e8ce2cb7
    Update version Michael Miller 2022-07-14 19:18:38 -0600
  • c62cc8fdc7
    Update checklist Michael Miller 2022-07-14 19:18:23 -0600
  • 9c888fef3f
    Add specs for mocks and stubs docs Michael Miller 2022-07-14 19:11:45 -0600
  • c0a32505ee
    Address Ameba issue Michael Miller 2022-07-14 13:53:30 -0600
  • c228984956
    Add specs for anonymous and null object doubles docs Michael Miller 2022-07-14 13:51:24 -0600
  • 827b69483b
    Disallow stubs for undefined methods in null double Michael Miller 2022-07-14 13:37:09 -0600
  • 7dd77a2096
    Add spec for doubles docs Michael Miller 2022-07-14 13:18:13 -0600
  • 1d58824e6c
    Support default stubs for class_double Michael Miller 2022-07-14 13:18:02 -0600
  • e29c732d0f
    Add count to ReceiveMatcher Michael Miller 2022-07-13 16:48:38 -0600
  • be973cdc4b
    Add spec for GitHub issue 44 Michael Miller 2022-07-13 15:52:31 -0600
  • 9efb6c95dd
    Workaround compiler bug introduced by aa9ca7a Michael Miller 2022-07-13 15:40:22 -0600
  • f1465c44d8
    Fix Ameba issues Michael Miller 2022-07-13 13:42:44 -0600
  • aa9ca7a98e
    Don't return nil for methods using NoReturn Michael Miller 2022-07-13 12:24:29 -0600
  • 14d8c046f0
    Workaround absolute path requirement for mock injection Michael Miller 2022-07-13 12:23:28 -0600
  • ac3b322900
    Use absolute path for inject_mock Michael Miller 2022-07-13 11:29:19 -0600
  • da3fbc9607
    Add spec for GitHub issue 43 Michael Miller 2022-07-13 11:17:10 -0600
  • 70efa1ad78
    Indent multi-line values in failure block output Michael Miller 2022-07-13 11:11:31 -0600
  • 181a34a0b3
    Display "None" when no methods are called Michael Miller 2022-07-13 10:53:57 -0600
  • b65f53f105 Merge branch 'mock-redesign' into 'master' Mike Miller 2022-07-13 05:43:53 +0000
  • e20cf6df67 Merge branch 'mock-redesign' into 'master' Mike Miller 2022-07-13 05:37:30 +0000
  • 0ba241221f
    Update CHANGELOG Michael Miller 2022-07-12 23:37:13 -0600
  • e52f187eb7
    Show new mock and double system in README Michael Miller 2022-07-12 23:22:47 -0600
  • 754bfd6939
    Intercept most exit calls and raise instead Michael Miller 2022-07-12 23:02:20 -0600
  • 3c9c7f88be
    Reenable test relying on doubles Michael Miller 2022-07-12 22:32:09 -0600
  • 2e5f822e1d
    Remove `new` from reserved keywords Michael Miller 2022-07-12 22:30:04 -0600
  • fe88eefa86
    Add inject_mock to DSL Michael Miller 2022-07-12 22:12:48 -0600
  • 193a476679
    Update known issues to use new mock system Michael Miller 2022-07-12 21:50:45 -0600
  • 99fb47c6e9
    Remove redundant block conditionals Michael Miller 2022-07-12 21:46:12 -0600
  • df5a4fa77c
    Use tap to modify new mock Michael Miller 2022-07-12 21:19:51 -0600
  • 0e556c3d55
    Clear stubs and recorded calls after example completes Michael Miller 2022-07-12 20:40:27 -0600
  • 24eec64d64
    Check for leaks on class mocks and doubles Michael Miller 2022-07-12 20:09:18 -0600
  • bb0c85d9ec
    Fix possible shadowing of `mock` Michael Miller 2022-07-12 19:50:04 -0600
  • 6e57a1c44a
    Allow method calls with unconstrained arguments Michael Miller 2022-07-12 19:23:13 -0600
  • c91e288f61
    Add initial support for exect-receive syntax Michael Miller 2022-07-12 19:11:44 -0600
  • 3d7655a5d1
    Add support for any_args in DSL Michael Miller 2022-07-12 19:05:55 -0600
  • 4aaa8db5e2
    Rename Arguments.empty to Arguments.none Michael Miller 2022-07-12 18:59:23 -0600
  • 4b2b37477e
    Remove unused methods Michael Miller 2022-07-12 18:04:55 -0600
  • b137a8e742
    Test matcher text Michael Miller 2022-07-12 18:04:51 -0600
  • d7ea969f55
    Pretify stub and call output Michael Miller 2022-07-12 17:47:05 -0600
  • 36cc035417
    Add tests for ReceiveMatcher Michael Miller 2022-07-12 17:19:42 -0600
  • 00c7141d95
    Re-add `with` modifier with constraint Michael Miller 2022-07-12 10:56:49 -0600
  • 694e2e6259
    Initial implementation of `have_received` Michael Miller 2022-07-11 20:25:15 -0600
  • 4f46c98a86
    Rename `with` method to avoid recursive splat and ambiguity Michael Miller 2022-07-11 20:24:51 -0600
  • 011ca37b50
    Reenable pending tests Michael Miller 2022-07-11 02:59:29 -0600
  • ecab2dd37e
    Upcast to AbstractArguments to avoid instantiating methods Michael Miller 2022-07-10 21:54:25 -0600
  • 32a9bfd356
    Add no_args Michael Miller 2022-07-10 18:51:58 -0600
  • b9eaefb424
    Add docs Michael Miller 2022-07-10 18:33:56 -0600
  • ae8421c29e
    Address Ameba issue Michael Miller 2022-07-10 17:59:49 -0600
  • 9eb2946be6
    Change empty args to reusable readonly instance Michael Miller 2022-07-10 17:51:05 -0600
  • 29389f1dbf
    Add indexer methods for captured arguments Michael Miller 2022-07-10 17:38:17 -0600
  • 4aaed186c3
    Add `with` stub modifier Michael Miller 2022-07-10 17:31:13 -0600
  • cd177dd2ae
    Implement ProcStub Michael Miller 2022-07-10 11:54:51 -0600
  • 4d5004ab4f
    Add ExceptionStub Michael Miller 2022-07-09 22:12:24 -0600
  • f17cc73487
    More multi value stub tests Michael Miller 2022-07-09 21:48:22 -0600
  • 667c05b484
    Merge branch 'mock-redesign' of gitlab.com:arctic-fox/spectator into mock-redesign Michael Miller 2022-07-09 20:52:04 -0600
  • 9c705bf888
    Add MultiValueStub Michael Miller 2022-07-09 20:52:01 -0600
  • 8694e5d078
    Merge branch 'master' into mock-redesign Michael Miller 2022-07-09 08:23:55 -0600
  • 813983de4b
    Implement and test DSL for class mocks and doubles Michael Miller 2022-07-07 19:09:18 -0600
  • 77096b76e9
    Allow StubbedType alongside Stubbable for allow() Michael Miller 2022-07-07 19:01:02 -0600
  • 55b2ac9f05
    Fix macro for class double name Michael Miller 2022-07-07 19:00:22 -0600