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.
private def run
# Build the test suite and run it.
suite = ::Spectator::SpecBuilder.build(config.example_filter)
Runner.new(suite, config).run
# suite = ::Spectator::SpecBuilder.build(config.example_filter)
# Runner.new(suite, config).run
true
rescue ex
# Catch all unhandled exceptions here.
# 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
# Namespace containing methods representing the spec domain specific language.

View file

@ -1,5 +1,7 @@
module Spectator
module DSL
module Spectator::DSL
module Values
end
macro let(name, &block)
@%wrapper : ::Spectator::ValueWrapper?
@ -61,5 +63,4 @@ module Spectator
{{name.id}}
end
end
end
end