Commit graph

1808 commits

Author SHA1 Message Date
Michael Miller
3ecb04e293
Initial work on summary output 2021-05-16 15:03:37 -06:00
Michael Miller
ee294a3ec2
Use Array instead of Enumerable 2021-05-16 13:22:25 -06:00
Michael Miller
0ed684afbc
Integrate report and summary events 2021-05-16 13:20:02 -06:00
Michael Miller
ceb368a7f4
Overhaul Report 2021-05-16 13:19:04 -06:00
Michael Miller
fb436d2ec4
Define a pending result as neither passing nor failing 2021-05-16 12:31:01 -06:00
Michael Miller
832ffbf403
Split to make it obvious run is called 2021-05-16 12:22:00 -06:00
Michael Miller
59c67c26a9
Result visitor methods should take result as argument 2021-05-16 12:19:16 -06:00
Michael Miller
9a62c1386a
Remove parameter from start_dump and close events 2021-05-16 10:51:50 -06:00
Michael Miller
ba2922e655
Implement broadcast formatter methods 2021-05-16 10:12:40 -06:00
Michael Miller
5da21f8ede
Update Ameba and address issues 2021-05-15 19:51:44 -06:00
Michael Miller
aa03e3527d
Formatting 2021-05-15 19:45:17 -06:00
Michael Miller
eebcba0749
Mostly implemented progress formatter 2021-05-15 19:45:01 -06:00
Michael Miller
e2f4051927
Split error handler from failure method 2021-05-15 19:44:06 -06:00
Michael Miller
a36982d6d6
Use visitor pattern 2021-05-15 19:43:13 -06:00
Michael Miller
d5c4d5e822
Call fail instead of failure on visitor 2021-05-15 19:42:59 -06:00
Michael Miller
618e9e195a
Begin triggering events for formatters 2021-05-15 18:31:52 -06:00
Michael Miller
4eb457f197
Define and document formatter methods 2021-05-15 17:01:29 -06:00
Michael Miller
1ea209184e
Formatting 2021-05-12 21:41:56 -06:00
Michael Miller
81f509c083
Get config, spec, builder, and runner working together 2021-05-12 21:41:34 -06:00
Michael Miller
83c4b01e84
Set up placeholder formatters 2021-05-12 21:41:12 -06:00
Michael Miller
ff084bb3cd
Fix dumb mistakes 2021-05-12 21:40:48 -06:00
Michael Miller
b8b6b3b609
Add pass?/fail? methods to Result types 2021-05-12 21:39:50 -06:00
Michael Miller
72b2e7ebcb
Fix paths and references 2021-05-08 23:46:19 -06:00
Michael Miller
7294f2da67
Change ConfigSource to "applicator"
Remove unecessary abstract base class.
Shorten name of CLI arguments config applicator.
2021-05-08 23:45:54 -06:00
Michael Miller
f09a6a87e5
Remove TestSuite middle-man object 2021-05-08 23:38:13 -06:00
Michael Miller
e7138080a6
Clean up and simplify Config and Builder 2021-05-08 23:37:33 -06:00
Michael Miller
8a4735b9e6
Use Formatters instead of Reporters (and Formatters) 2021-05-08 23:35:29 -06:00
Michael Miller
f2459cfe94
Override === to call includes?
Allows the use of a filter in pattern matching scenarios (select).
2021-05-08 23:33:59 -06:00
Michael Miller
e7c3d8f060
Use filter if only one is provided
This is less overhead than creating a composite filter for one child 
filter.
2021-05-08 22:53:39 -06:00
Michael Miller
83d7657b18
Use enum flags for run modes 2021-05-08 22:51:54 -06:00
Michael Miller
e8848d6855
Merge branch 'release/0.10' into reporting 2021-05-08 13:23:57 -06:00
Michael Miller
88b323bc27
Move common inspect code up to Node 2021-05-08 13:22:13 -06:00
Michael Miller
d292c01e74
Remove direct references to Example in ExampleGroup 2021-05-08 12:43:41 -06:00
Michael Miller
ef7fca3f95
Bit of cleanup around parent/group 2021-05-08 12:10:27 -06:00
Michael Miller
d7ba47cc49
Clean up hook code 2021-05-08 12:00:29 -06:00
Michael Miller
e47e625016
Remove circular dependency with Node and ExampleGroup 2021-05-07 21:04:17 -06:00
Michael Miller
6bea36d8b6
Move Node out of Spec namespace 2021-05-07 20:09:33 -06:00
Michael Miller
d7bc376429
Some initial work on formatters 2021-05-07 20:05:00 -06:00
Michael Miller
31d819e4c9
Nuke formatting types to prep for new types 2021-05-06 22:11:38 -06:00
Michael Miller
f3afd74dc5
Empty classes for reporting 2021-05-06 22:10:59 -06:00
Michael Miller
ff5d855389
Cleanup harness some 2021-05-06 22:10:40 -06:00
Michael Miller
02b98ea61b
Remove reference to example from result
Pass examples instead of results into formatters.
2021-04-26 18:47:11 -06:00
Michael Miller
f24d634ccb
Merge branch 'release/0.10' into specs 2021-04-26 17:19:25 -06:00
Michael Miller
f549fcfa7a
Minor changes to configure methods 2021-04-26 17:17:18 -06:00
Michael Miller
6c98d7107c
Docs 2021-04-26 17:11:53 -06:00
Michael Miller
5dfc60d4cd
Fix nil reference error when example name is unavailable 2021-04-26 16:53:04 -06:00
Michael Miller
29594eefab
Merge branch 'master' into release/0.10 2021-04-26 11:19:08 -06:00
Michael Miller
18fb2d3879
Bump version to 0.9.36 2021-04-25 23:39:26 -06:00
Michael Miller
f0b524dc47
Remove workaround
https://github.com/icy-arctic-fox/spectator/issues/1 should be resolved 
by https://github.com/crystal-lang/crystal/pull/8234
2021-04-20 19:27:41 -06:00
Michael Miller
25638d766e
Bump version to 0.9.35 2021-04-18 18:08:08 -06:00