Commit Graph

  • 6ca4d8d2a6 Move matchers DSL into their own module Michael Miller 2018-09-15 11:58:43 -0600
  • 1ea06998e7 Move #expect from global namespace to example DSL Michael Miller 2018-09-15 11:30:45 -0600
  • 967797428c Move DSL to its own directory Michael Miller 2018-09-15 11:21:23 -0600
  • b5cdda4af3 Shorten ExpectationFailedError to ExpectationFailed Michael Miller 2018-09-15 11:05:11 -0600
  • a1871ca62e Rename StandardFormatter to DefaultFormatter Michael Miller 2018-09-15 10:57:49 -0600
  • cfe1a014dd Rename reporters to formatters Michael Miller 2018-09-15 10:56:58 -0600
  • 251bf5bb5e Remove unused source type Michael Miller 2018-09-15 10:53:00 -0600
  • a3366add13 Cleanup remaining references to "context" that should be "group" Michael Miller 2018-09-15 10:52:17 -0600
  • 010b47ca1f Rename ContextDefinitions to GroupDefinitions Michael Miller 2018-09-15 10:49:46 -0600
  • 7968c5a394 Rename Context to ExampleGroup Michael Miller 2018-09-15 10:45:47 -0600
  • dc8e651209 Quick implementation of pending examles Michael Miller 2018-09-15 10:36:20 -0600
  • 7cfa432dfd All hook types are implemented Michael Miller 2018-09-15 09:59:55 -0600
  • 56229cdc93 Move common example runner code into new RunnableExample class Michael Miller 2018-09-14 22:17:16 -0600
  • e4d46ca603 Initial implementation of invoking #around_each hooks Michael Miller 2018-09-13 10:44:21 -0600
  • 9f778c5cb9 Fix after_all hooks running too soon Michael Miller 2018-09-12 21:31:44 -0600
  • 77753ab974 Move hook execution into Example#run Michael Miller 2018-09-12 20:42:39 -0600
  • 5b275f3146 Use #unsafe_as Michael Miller 2018-09-12 20:28:36 -0600
  • fbea3533ea Remove setter and extra code for given vars Michael Miller 2018-09-12 20:27:11 -0600
  • e30da2be19 Some macro cleanup Michael Miller 2018-09-12 19:23:27 -0600
  • 9b07f669ed Remove Locals sub-module Michael Miller 2018-09-12 19:16:41 -0600
  • 718be70edd Update feature list Michael Miller 2018-09-12 19:11:36 -0600
  • 3fc625de3f Allow generic types for #described_class and implicit #subject Michael Miller 2018-09-12 18:54:46 -0600
  • 037612d00a Add implicit subject Michael Miller 2018-09-12 18:37:33 -0600
  • 8cf876268a Use fresh variables Michael Miller 2018-09-12 16:29:48 -0600
  • 10fc6c6a35 Hide special character mapping Michael Miller 2018-09-12 15:54:45 -0600
  • 625a331745 Initial code to indirectly run example Michael Miller 2018-09-12 15:47:57 -0600
  • 700108f52f Move example-specific DSL to its own module Michael Miller 2018-09-12 15:41:23 -0600
  • 4bfd2b9620 Rearrange DSL Michael Miller 2018-09-12 15:21:23 -0600
  • e451c027a8 Fix bad copy/paste for hooks Michael Miller 2018-09-12 15:16:18 -0600
  • 193314d532 Fix given variables being defined in parent context Michael Miller 2018-09-12 15:13:46 -0600
  • 8b55d9139d Hide constants used to build test hiearchy Michael Miller 2018-09-12 14:53:11 -0600
  • c2ee9fd520 Move ROOT_CONTEXT out of Spectator module Michael Miller 2018-09-11 20:25:28 -0600
  • 6f6ba9c812 Obscure given value setter Michael Miller 2018-09-11 16:19:31 -0600
  • 65e8ee3788 Fix string descriptions having extra quotes Michael Miller 2018-09-11 16:01:31 -0600
  • 84ed9c41b2 Store example description Michael Miller 2018-09-11 15:57:18 -0600
  • d8621fc43e Store "what" string in context Michael Miller 2018-09-11 15:54:00 -0600
  • 284e10482a Add names for most common special characters Michael Miller 2018-09-11 15:09:23 -0600
  • 95ec999bba Hide name of underlying let's block method Michael Miller 2018-09-11 12:54:47 -0600
  • 2c0238d178 Invoke before_each, before_all, after_each, and after_all hooks Michael Miller 2018-09-10 22:33:40 -0600
  • a725c0d5be Pass context to examples Michael Miller 2018-09-10 21:51:14 -0600
  • 2ff8ebb3cb Implement creation of hooks Michael Miller 2018-09-10 21:27:24 -0600
  • 387e129a89 Add context instances Michael Miller 2018-09-10 19:59:57 -0600
  • 65da494e52 Fix for no block arg in #given - "value" treated as StringLiteral Michael Miller 2018-09-10 19:28:57 -0600
  • b1d44fb480 Remove source tracking since it doesn't work right with macros Michael Miller 2018-09-07 21:49:46 -0600
  • aa1764d972 Cleanup contextual arguments Michael Miller 2018-09-07 18:20:54 -0600
  • 27e3f00d70 Remove RunOrder Michael Miller 2018-09-07 15:06:57 -0600
  • cb0ae516ae Catch duplicate given blocks with same variable name Michael Miller 2018-09-06 22:39:40 -0600
  • 5646a6ebd9 Remove unecessary underscores Michael Miller 2018-09-06 22:23:57 -0600
  • 4df8a1013d Update README - given is done for now Michael Miller 2018-09-06 22:12:58 -0600
  • 45261c419f Super hacky way to resolve type of given variables Michael Miller 2018-09-06 22:08:32 -0600
  • 7c8be54e5c Mostly complete code for #given Michael Miller 2018-09-06 21:13:03 -0600
  • 3e7f43009f Use more correct name for constant Michael Miller 2018-09-06 19:22:47 -0600
  • f7eeb2b2a3 Implement #described_class Michael Miller 2018-09-04 16:59:59 -0600
  • 7ff91b4fc6 Rename "context" to "locals" Michael Miller 2018-09-04 16:17:33 -0600
  • de55e31407 Add basics for tracking source code location Michael Miller 2018-09-04 13:36:19 -0600
  • b8dcf35165 Add report for suite results Michael Miller 2018-08-30 23:38:20 -0600
  • 9d39bc80b1 Fix filename Michael Miller 2018-08-30 23:24:49 -0600
  • 792bca99e5 Simplify rescue Michael Miller 2018-08-30 22:50:27 -0600
  • fb4dd9fd22 Fix default run order Michael Miller 2018-08-30 22:47:40 -0600
  • f4de0ffee9 Capture elapsed test time Michael Miller 2018-08-30 22:45:49 -0600
  • e38fddb12a Initial code for reporters Michael Miller 2018-08-30 22:21:10 -0600
  • aba9f50d58 Remove unused results Michael Miller 2018-08-30 21:57:44 -0600
  • 9fb1a3b664 Add base classes for defining example run order Michael Miller 2018-08-30 21:32:13 -0600
  • c100651680 Handle errored and failing specs separately Michael Miller 2018-08-30 21:15:20 -0600
  • 65b16f9031 Capture exception from failed specs Michael Miller 2018-08-30 21:10:36 -0600
  • 3aa6ab7a10 Some initial work on spec runner Michael Miller 2018-08-30 21:07:14 -0600
  • cf789f54be Remove code for running examples Michael Miller 2018-08-30 15:55:20 -0600
  • 6371fa5856 Cleanup feature checklist Michael Miller 2018-08-30 15:15:01 -0600
  • 755921fa6f Update README with feature list and sample usage Michael Miller 2018-08-30 15:09:29 -0600
  • a65aedbfb7 Implement #to_not Michael Miller 2018-08-30 14:15:07 -0600
  • 5eb5561e61 Rename Proxy to Wrapper Michael Miller 2018-08-30 14:07:46 -0600
  • a0fbc61244 Extraneous debug code Michael Miller 2018-08-30 14:03:29 -0600
  • e26fecd092 Fix let/subject not being passed to nested contexts Michael Miller 2018-08-30 14:02:18 -0600
  • 24725c4f9d Top-level describe (Spectator.describe) missing module namespace Michael Miller 2018-08-30 13:29:11 -0600
  • aeb09b4e0d The #is_expected macro must be in example for visibility in #it Michael Miller 2018-08-28 16:44:21 -0600
  • b1d70453cf Implement #let! Michael Miller 2018-08-28 16:37:28 -0600
  • 709b226f8e Implement #let functionality Michael Miller 2018-08-28 16:33:23 -0600
  • 623033623a Add untyped ValueProxy base class Michael Miller 2018-08-25 18:36:32 -0600
  • 0af4c2f54f Add lazy class Michael Miller 2018-08-25 18:25:21 -0600
  • d5cd756882 Remove private nest macro Michael Miller 2018-08-24 15:17:05 -0600
  • b90cc39638 Playing around with contexts and examples Michael Miller 2018-08-24 14:53:14 -0600
  • ed40e995d2 Playing around with new macro style Michael Miller 2018-08-23 16:24:03 -0600
  • 74905b82bd Minimal handling of expectations and failures Michael Miller 2018-08-23 12:44:40 -0600
  • 7ec33943a4 Initial structure for matchers Michael Miller 2018-08-23 12:44:18 -0600
  • b709820e11 Add expectation class Michael Miller 2018-08-21 21:07:37 -0600
  • 0ade9f4dfd Some cleanup Michael Miller 2018-08-19 01:38:02 -0600
  • 0613344230 Scratch work on structure Michael Miller 2018-08-19 01:15:32 -0600
  • 630e537726 Initial commit Michael Miller 2018-08-18 15:33:20 -0600