Commit Graph

  • 231323bbf1
    Add return type restriction Michael Miller 2022-03-30 21:10:36 -0600
  • b3f98cd50c
    Add return type annotation Michael Miller 2022-03-30 20:51:38 -0600
  • f1a68fee8c
    Typo Michael Miller 2022-03-30 20:46:53 -0600
  • ef64fa466b
    Avoid type cast issues Michael Miller 2022-03-30 20:44:43 -0600
  • 39f5ea34eb
    Another place that needs a cast Michael Miller 2022-03-30 20:33:19 -0600
  • 613c969fbb
    Match RSpec behavior Michael Miller 2022-03-30 20:28:36 -0600
  • a8e55e32d2
    Works now due to lazy doubles Michael Miller 2022-03-30 19:13:14 -0600
  • 1327d74040
    Fix handling of stubs with the same name Michael Miller 2022-03-26 00:13:24 -0600
  • 1199379833
    Various fixes Michael Miller 2022-03-26 00:12:37 -0600
  • bbaa8816b8
    Weird segfault when inspecting value type is back. Michael Miller 2022-03-25 23:54:44 -0600
  • 28ae03d56f
    Remove expect_null_double Michael Miller 2022-03-25 22:45:13 -0600
  • b28437ccc4
    Match RSpec behavior Michael Miller 2022-03-25 22:32:27 -0600
  • 28488d308e
    Don't invoke fallback if there are stubs for the method Michael Miller 2022-03-25 22:30:39 -0600
  • fc51c1d730
    More logging Michael Miller 2022-03-24 02:39:15 -0600
  • b97a367be7
    Method return type restriction takes precedence over original return type Michael Miller 2022-03-24 02:01:25 -0600
  • 5aceaf7d8c
    Comment out problematic casts Michael Miller 2022-03-22 22:13:59 -0600
  • 7dd2cffa8e
    Inspecting the value's class seems to work now Michael Miller 2022-03-22 22:13:02 -0600
  • d6fcf128ba
    Temporarily disable returning un-cast value Michael Miller 2022-03-22 22:11:34 -0600
  • 78dea01abe
    Manual method existence check Michael Miller 2022-03-20 21:49:21 -0600
  • 0b6e44c227
    Fix types of arguments given to common object methods Michael Miller 2022-03-20 15:39:19 -0600
  • 0fb7be6722
    Use stub instead of abstract_stub by default for stub_all Michael Miller 2022-03-20 15:38:26 -0600
  • c9f91299fe
    Merge branch 'master' into mock-redesign Michael Miller 2022-03-19 23:01:52 -0600
  • 419e7c1b8d
    Use Box for Wrapper implementation Michael Miller 2022-03-19 22:48:55 -0600
  • e209fe3eb5
    Use Box for Wrapper implementation Michael Miller 2022-03-19 22:48:55 -0600
  • 18a03b02fe
    Include reserved Michael Miller 2022-03-19 22:36:25 -0600
  • 03a031ad38
    Use absolute path to RESERVED_KEYWORDS Michael Miller 2022-03-19 22:00:12 -0600
  • b23a567ee3
    Add require statements Michael Miller 2022-03-19 21:56:58 -0600
  • 04cf211f24
    Move reserved keywords to a separate file Michael Miller 2022-03-19 21:56:18 -0600
  • 04f3614ff7
    Workaround issue with `value` not being found Michael Miller 2022-03-19 20:00:50 -0600
  • bed84b315d
    Add lazy double Michael Miller 2022-03-19 19:32:41 -0600
  • 162ad4df33
    Report call and args like other error messages Michael Miller 2022-03-19 18:58:06 -0600
  • 1657d3577d
    Fix test of double name Michael Miller 2022-03-19 18:57:39 -0600
  • b3fa2e3bfe
    Address Ameba issues Michael Miller 2022-03-19 17:22:13 -0600
  • b83c6b7b1e
    Remove or skip mock, double, and stub tests Michael Miller 2022-03-19 17:20:15 -0600
  • 0c7f72dc78
    Test handling of blocks in doubles Michael Miller 2022-03-19 17:04:51 -0600
  • 043ebd818f
    Fix argument order Michael Miller 2022-03-19 16:42:14 -0600
  • 2f1999b377
    Fix call expansion in debug log Michael Miller 2022-03-19 16:32:25 -0600
  • 17e97cb39a
    Explode method expansion Michael Miller 2022-03-19 16:13:11 -0600
  • 15dd2ea6f1
    Inject stubbable method that accepts a block Michael Miller 2022-03-19 16:09:35 -0600
  • 99aa8afdce
    Add as_null_object method Michael Miller 2022-03-19 14:41:45 -0600
  • 5d21e4bb71
    Remove double_dsl_spec Michael Miller 2022-03-19 14:27:00 -0600
  • 70787ce2d4
    Extend NullDouble from Double Michael Miller 2022-03-19 13:00:42 -0600
  • 3fa6baea4d
    Test mixing block and keyword stubs Michael Miller 2022-03-19 12:52:23 -0600
  • d40040c8ee
    Remove extra block body leftover from debug Michael Miller 2022-03-19 12:37:46 -0600
  • 25f546245a
    Handle injecting stubbed abstract method Michael Miller 2022-03-19 12:33:09 -0600
  • 9091b8d027
    Literally inject stubs from double block Michael Miller 2022-03-19 12:28:00 -0600
  • 5a4e95e8a2
    Split double macro into def_double and new_double Michael Miller 2022-03-19 11:41:53 -0600
  • f1daecd25f
    Initial spec for double DSL Michael Miller 2022-03-19 11:41:29 -0600
  • 4dff018330
    Pass along block only if it exists Michael Miller 2022-03-19 11:28:36 -0600
  • a508aeb4a3
    Use a shared macro to handle stub type cast Michael Miller 2022-03-17 02:45:50 -0600
  • 751ea77172
    Add docs explaining how stub macros work Michael Miller 2022-03-17 02:18:32 -0600
  • 4f7a4a3453
    Avoid issue with TypeCastError message Michael Miller 2022-03-16 22:40:24 -0600
  • b68c75dda5
    Add tests around problematic issues in NullDouble to Double Michael Miller 2022-03-16 21:10:47 -0600
  • 280f117e23
    Use TypedStub instead of ValueStub Michael Miller 2022-03-16 21:07:20 -0600
  • 8e38d3b054
    Add intermediate TypedStub Michael Miller 2022-03-16 21:05:43 -0600
  • dc74a741cf
    Bit of method cleanup Michael Miller 2022-03-15 22:55:24 -0600
  • 332ab1cebc
    Smarter handling of stub fallback Michael Miller 2022-03-15 22:46:43 -0600
  • 01fc91e854
    Add stubs for primitive methods Michael Miller 2022-03-14 21:53:09 -0600
  • 64cd921a7e
    Add block arguments and yield Michael Miller 2022-03-12 23:50:30 -0700
  • 03aa282512
    Don't stub primitive methods Michael Miller 2022-03-12 23:02:55 -0700
  • 291b4c75a8
    Compiler error if stub defined in a method Michael Miller 2022-03-12 23:02:33 -0700
  • 94872a498d
    Better string representation of method call Michael Miller 2022-03-12 19:26:18 -0700
  • 20087f1c57
    Treat any tokens starting with _spectator as reserved Michael Miller 2022-03-12 19:17:38 -0700
  • 5ad29f486f
    Better formatting for empty arguments Michael Miller 2022-03-12 17:49:07 -0700
  • ca827a3c52
    Initial work on null (object) double Michael Miller 2022-03-12 17:07:34 -0700
  • 1e7e31ff97
    Use true instead of false Michael Miller 2022-03-12 15:52:48 -0700
  • f82719746d
    Stubable -> Stubbable Michael Miller 2022-03-12 15:45:48 -0700
  • 7931847164
    Cleanup and docs Michael Miller 2022-03-12 15:43:12 -0700
  • 151926fd25
    Fix captured arguments not handling splat Michael Miller 2022-03-12 14:31:39 -0700
  • ea46af00a6
    Add method to define stubs Michael Miller 2022-03-12 14:31:19 -0700
  • 123dd0efca
    Obscure parameters to avoid accidental usage Michael Miller 2022-03-12 13:58:20 -0700
  • 5b1a5cd49d
    Update tests to use new Double usage Michael Miller 2022-03-12 13:54:40 -0700
  • c8864b169e
    Quick def methods should accept any args Michael Miller 2022-03-12 13:51:58 -0700
  • f497aeb79d
    Fix redefinition of method with splat argument Michael Miller 2022-03-12 13:15:26 -0700
  • c1a14d1ad2
    Add logging Michael Miller 2022-03-12 12:59:44 -0700
  • 59f966d0e0
    Fix missing double name Michael Miller 2022-03-12 12:17:27 -0700
  • 56f1c77a6c
    Move method masking macro to Stubable Michael Miller 2022-03-12 11:56:54 -0700
  • 85cc28c499
    Utility method to define a method and a stub override Michael Miller 2022-03-12 11:41:47 -0700
  • 8de457d80c
    Handle previous_def and super - don't redefine method Michael Miller 2022-03-12 11:34:35 -0700
  • 554e215898
    Prevent ugly "has no type" errors Michael Miller 2022-03-12 11:33:56 -0700
  • 12eeb02a8d
    Move method redefinition for stub to Stubable Michael Miller 2022-03-12 11:11:22 -0700
  • 9b94245bd8
    Stub's type might not match return type (subclass or union) Michael Miller 2022-03-12 11:08:58 -0700
  • d891422b3a
    Don't need to recreate method by hand Michael Miller 2022-03-12 11:08:29 -0700
  • 76c1d6a096
    Some rework of stubs and doubles Michael Miller 2022-03-12 09:39:32 -0700
  • 7c8db07eda
    Test ValueStub Michael Miller 2022-03-05 20:57:43 -0700
  • ae14a47329
    Rename Response to Stub Michael Miller 2022-03-05 20:09:56 -0700
  • ced98778a4
    Document and test MethodCall Michael Miller 2022-03-05 16:15:42 -0700
  • 13f185b801
    Capture and report arguments in exception message Michael Miller 2022-03-05 16:06:01 -0700
  • 75ccda0a86
    Test responses on inherited methods Michael Miller 2022-03-05 15:39:35 -0700
  • d16c55984c
    Fixup macros Michael Miller 2022-03-05 15:39:19 -0700
  • ac007f8565
    Test response constraints Michael Miller 2022-03-05 15:00:11 -0700
  • 2e15686d2d
    Use internal arg name Michael Miller 2022-03-05 12:31:00 -0700
  • ec57105afd
    Support response constraints Michael Miller 2022-03-05 12:21:31 -0700
  • 8668e495ef
    Placeholder mocks DSL Michael Miller 2022-03-05 10:41:52 -0700
  • 2adc867843
    Initial work on response constraints Michael Miller 2022-03-05 10:41:39 -0700
  • de7cd90d11
    Add type capturing arguments Michael Miller 2022-03-04 17:16:45 -0700
  • d7f8c2b958
    Cleanup and document double Michael Miller 2022-03-03 23:12:35 -0700
  • 7e65d94cee
    Match RSpec double name string Michael Miller 2022-03-03 22:41:18 -0700
  • 9594604770
    Obscure and disallow double name method Michael Miller 2022-03-03 22:34:57 -0700
  • 5644d54470
    Support double names Michael Miller 2022-03-03 22:31:40 -0700