mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Temporarily disable running examples
This commit is contained in:
parent
6752c7c254
commit
dad669686c
3 changed files with 16 additions and 12 deletions
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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?
|
||||||
|
|
||||||
|
@ -61,5 +63,4 @@ module Spectator
|
||||||
{{name.id}}
|
{{name.id}}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue