Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import mspec tests to run our spec code #2508

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0aefc34
Import be_an_instance_of_spec of mspec
herwinw Jan 17, 2025
8df13f4
Cobble a passing mspec test together
herwinw Jan 17, 2025
a8be44c
Split existing BeInstanceOfExpectation into Matcher and Excpectation
herwinw Jan 17, 2025
c01cb8d
Add stub files to fix the includes of the upstream mspec specs
herwinw Jan 18, 2025
9fce631
Import BeAnInstanceOfMatcher from mspec
herwinw Jan 18, 2025
f568858
Remove BeInstanceOfExpectation
herwinw Jan 18, 2025
7215c38
Import BeKindOfMatcher from mspec
herwinw Jan 18, 2025
262505d
Import BeNilMatcher from mspec
herwinw Jan 18, 2025
1fb825b
Sync spec_helper in mspec tests with upstream file
herwinw Jan 18, 2025
692a266
Import BeAncestorOfMatcher from mspec
herwinw Jan 18, 2025
b2eb1ac
Import BlockingMatcher from mspec
herwinw Jan 18, 2025
6c39f33
Import EqlMatcher from mspec
herwinw Jan 18, 2025
1d5ec23
Import BeEmptyMatcher from mspec
herwinw Jan 18, 2025
5e8c70a
Remove mspec tests from our repo
herwinw Jan 18, 2025
2488904
Import BeTrueMatcher from mspec
herwinw Jan 18, 2025
6624a27
Import BeFalseMatcher from mspec
herwinw Jan 18, 2025
06b7040
Import EqualMatcher from mspec
herwinw Jan 18, 2025
6ffa717
Import EqualElementMatcher from mspec
herwinw Jan 18, 2025
8e85af8
Import BeTrueOrFalseMatcher from mspec
herwinw Jan 18, 2025
66ba2d6
Import BeCloseMatcher from mspec
herwinw Jan 18, 2025
a720225
Import BeComputedByMatcher from mspec
herwinw Jan 18, 2025
ca3df04
Import BeNanExpectation from mspec
herwinw Jan 18, 2025
3e3efe1
Import InfinityMatcher from mspec
herwinw Jan 18, 2025
dd380c8
Draft: A little bit better
herwinw Jan 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/support/mspec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class MSpec
module MSpec
def self.features
@features || {}
end
Expand Down
Loading
Loading