Temporarily disable running examples

This commit is contained in:
Michael Miller 2020-09-12 18:40:36 -06:00
parent 6752c7c254
commit dad669686c
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD
3 changed files with 16 additions and 12 deletions

View file

@ -101,8 +101,9 @@ module Spectator
# Builds the tests and runs the framework. # Builds the tests and runs the framework.
private def run private def run
# Build the test suite and run it. # Build the test suite and run it.
suite = ::Spectator::SpecBuilder.build(config.example_filter) # suite = ::Spectator::SpecBuilder.build(config.example_filter)
Runner.new(suite, config).run # Runner.new(suite, config).run
true
rescue ex rescue ex
# Catch all unhandled exceptions here. # Catch all unhandled exceptions here.
# Examples are already wrapped, so any exceptions they throw are caught. # Examples are already wrapped, so any exceptions they throw are caught.

View file

@ -1,4 +1,6 @@
require "./dsl/*" # require "./dsl/*"
require "./dsl/builder"
require "./dsl/groups"
module Spectator module Spectator
# Namespace containing methods representing the spec domain specific language. # Namespace containing methods representing the spec domain specific language.

View file

@ -1,5 +1,7 @@
module Spectator module Spectator::DSL
module DSL module Values
end
macro let(name, &block) macro let(name, &block)
@%wrapper : ::Spectator::ValueWrapper? @%wrapper : ::Spectator::ValueWrapper?
@ -62,4 +64,3 @@ module Spectator
end end
end end
end end
end