Commit graph

1569 commits

Author SHA1 Message Date
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
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
Michael Miller
93e270f87a
Support variables and methods for type matcher (be_a).
Addresses https://github.com/icy-arctic-fox/spectator/issues/25
2021-04-17 09:38:29 -06:00
Michael Miller
d612657b15
Merge branch 'release/0.10' into specs 2021-03-31 15:28:16 -06:00
Michael Miller
3d702f9bc6
Merge branch 'master' into release/0.10 2021-03-31 15:19:30 -06:00
Michael Miller
2ec6a31f34
Update README to reference latest version 2021-03-31 15:07:43 -06:00
Michael Miller
347e07e104
Update CHANGELOG 2021-03-31 15:07:00 -06:00
Michael Miller
6481403c6f
Bump version to 0.9.34 2021-03-31 15:01:01 -06:00
Michael Miller
10d597b951
Merge branch 'issues/19' 2021-03-31 15:00:16 -06:00
matthewmcgarvey
91ea9e6cab Comment out failing expectation with reference to open issue 2021-03-30 15:31:23 -04:00
matthewmcgarvey
5bd911341b Set end_line equal to line if end_line not provided 2021-03-30 15:29:51 -04:00
matthewmcgarvey
8fafd2467d Allow matching any line number of example in filter 2021-03-30 00:18:08 -04:00
Michael Miller
5f15891a41
Crystal 1.0.0 and Spectator 0.9.33 2021-03-22 17:05:28 -06:00
Michael Miller
79d6ad93b3
Avoid using subject with structs 2021-02-13 17:33:52 -07:00
Michael Miller
4af23751bc
Add specs for value types 2021-02-13 13:30:05 -07:00
Michael Miller
7d5c9edab7
Use cast as workaround 2021-02-13 11:44:51 -07:00
Michael Miller
74b78b7ca8
Rename Source to Location 2021-02-12 22:46:22 -07:00
Michael Miller
08451df643
Add matcher to check compiled type of values 2021-02-12 18:33:50 -07:00
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