Commit graph

1542 commits

Author SHA1 Message Date
Michael Miller
3083f82132
Change DSL::Values to DSL::Memoize 2021-02-10 17:07:49 -07:00
Michael Miller
3cd569e639
Prevent using reserved keywords in let and subject 2021-02-10 16:58:17 -07:00
Michael Miller
86a85c0946
Missed a method that should be private 2021-02-09 23:27:00 -07:00
Michael Miller
35946dc993
Test value types 2021-02-09 22:50:21 -07:00
Michael Miller
8b5fd099bb
More docs 2021-02-09 22:50:09 -07:00
Michael Miller
8232da1167
Mark DSL generated methods as private 2021-02-09 22:40:15 -07:00
Michael Miller
7a5f7adfc2
Change Anything to only use case equality 2021-02-09 21:18:20 -07:00
Michael Miller
f46856f307
Merge branch 'specs' of gitlab.com:arctic-fox/spectator into specs 2021-02-09 19:12:17 -07:00
Michael Miller
ae26377b3d Test and improve "Anything" 2021-02-10 02:12:00 +00:00
Michael Miller
6f81011ba1 Ignore JUnit output 2021-02-10 02:12:00 +00:00
Michael Miller
b2aaac9a46 Only run spec that was changed 2021-02-10 02:12:00 +00:00
Michael Miller
a20f2d4f98
Test and improve "Anything" 2021-02-09 19:10:11 -07:00
Michael Miller
4e3cb5d25f
Ignore JUnit output 2021-02-09 19:09:58 -07:00
Michael Miller
d06aaa9d14
Only run spec that was changed 2021-02-09 19:08:58 -07:00
Mike Miller
572f6061b2 Merge branch 'gitlab-test-results' into 'release/0.10'
Add test results to GitLab CI

See merge request arctic-fox/spectator!31
2021-02-10 01:43:11 +00:00
Michael Miller
bbd9acda33
Capture test results from JUnit output 2021-02-09 18:31:41 -07:00
Michael Miller
969a1f7755
Merge branch 'master' into release/0.10 2021-02-09 18:16:48 -07:00
Michael Miller
e0c4d2ac3e
Bump version to 0.9.32 2021-02-03 10:08:46 -07:00
Michael Miller
8d48e441b2
Fix generating source from brace-less examples.
Addresses https://github.com/icy-arctic-fox/spectator/issues/20
2021-02-03 10:06:00 -07:00
Michael Miller
0363c43dff
Fix described_class
Must be a macro, otherwise the return type becomes a union of all nested 
described_class methods, which can cause weird errors.
2021-01-31 00:38:17 -07:00
Michael Miller
a20b7cad80
Workaround for case where wrapper might store a type 2021-01-30 23:49:20 -07:00
Michael Miller
e275711f2b
Formatting 2021-01-30 23:48:59 -07:00
Michael Miller
3ae83f8b3d
Note about removing one-liner braceless syntax 2021-01-30 21:29:11 -07:00
Michael Miller
ff49c674c6
Fix around_each hook ordering when at the same level 2021-01-30 21:15:20 -07:00
Michael Miller
0f44403053
Fix namespaces preventing structs from being mocked 2021-01-30 21:11:51 -07:00
Michael Miller
0332b6eb3b
Log when deferred operations run 2021-01-30 21:07:42 -07:00
Michael Miller
292dfcbe29
Ignore nameless groups in document hierarchy 2021-01-30 21:00:28 -07:00
Michael Miller
e44505d4c1
Set nameless example to matcher description 2021-01-30 21:00:01 -07:00
Michael Miller
82e13f5434
Sloppily handle deferred operations 2021-01-30 20:53:09 -07:00
Michael Miller
078058ad05
Fix various issues with subjects
All tests in crystal spec pass!
2021-01-30 20:38:09 -07:00
Michael Miller
948e29a8b7
Fix short-hand should syntax 2021-01-30 20:27:36 -07:00
Michael Miller
62d478f7c2
Prevent overly verbose output of internals 2021-01-30 20:20:30 -07:00
Michael Miller
2c33e96dd4
Fix parsing passing spec 2021-01-30 20:14:25 -07:00
Michael Miller
228696c8b0
Fix exit code when tests fail 2021-01-30 20:11:09 -07:00
Michael Miller
9743f37e5c
Capture reported expectations 2021-01-30 20:07:45 -07:00
Michael Miller
bda554739c
Re-add JSON output for some types 2021-01-30 20:07:36 -07:00
Michael Miller
9d139dfeed
Hack together result output 2021-01-30 19:42:46 -07:00
Michael Miller
f5713efc62
Split Ameba and formatting 2021-01-30 19:00:05 -07:00
Michael Miller
17a3f27029
Address Ameba errors 2021-01-30 18:57:29 -07:00
Michael Miller
e8b284fc60
Fix namepsaces
crystal spec compiles again!
2021-01-30 17:40:33 -07:00
Michael Miller
b6335ab4bc
Update includes list 2021-01-30 17:40:03 -07:00
Michael Miller
d3ad0963cd
Minor fixes 2021-01-30 17:31:50 -07:00
Michael Miller
b07dca697e
Remove seemingly unused context stubs code 2021-01-30 17:27:17 -07:00
Michael Miller
3b5086c74b
Re-add mocks to harness 2021-01-30 17:27:02 -07:00
Michael Miller
73985772b7
DSL fully added back in 2021-01-30 16:43:13 -07:00
Michael Miller
d43d309a47
Note about tag inheritence 2021-01-30 16:39:41 -07:00
Michael Miller
3bc567da4c
Skip examples marked pending 2021-01-30 16:36:15 -07:00
Michael Miller
2301e44bd1
Add pending? method 2021-01-30 16:05:32 -07:00
Michael Miller
20680f37cb
Add docs 2021-01-30 15:39:29 -07:00
Michael Miller
ba967218fa
Move tags code to a common location 2021-01-30 15:34:17 -07:00