module Stoertebeker
Defined in:
stoertebeker.crstoertebeker/client.cr
stoertebeker/client_messages.cr
stoertebeker/commands.cr
stoertebeker/dsl.cr
stoertebeker/server_responses.cr
stoertebeker/test_adapters/generic.cr
stoertebeker/test_adapters/microtest.cr
stoertebeker/test_adapters/minitest.cr
stoertebeker/version.cr
Constant Summary
-
DEFAULT_MICROTEST_REPORTERS =
[Microtest::ProgressReporter.new, Microtest::ErrorListReporter.new, Microtest::SlowTestsReporter.new, Microtest::SummaryReporter.new] of Microtest::Reporter -
FIXME use default reporters of microtest
-
Log =
::Log.for("Stoertebeker") -
ROOT_PATH =
File.real_path(File.join(File.dirname("/srv/crystaldoc.info/github-Ragmaanir-stoertebeker-v0.5.0/src/stoertebeker.cr"), "..")) -
SOCKET_DIR =
File.expand_path("./temp/") -
SOCKET_FILE =
File.join(SOCKET_DIR, "/app.stoertebeker") -
VERSION =
{{ (`shards version /srv/crystaldoc.info/github-Ragmaanir-stoertebeker-v0.5.0/src/stoertebeker`).strip.stringify }}
Class Method Summary
-
.run(ctx : Stoertebeker::Context = Stoertebeker::Context.new, &)
Starts the electron server and client, yields the block with the
Contextand terminates the electron server after the block finishes. -
.wait_for(msg = "wait_for timed out", tries = 5, delay = 1.0, &block : -> Bool)
Waits for the block tries times to return true, waiting delay ms after each try.
Macro Summary
- run_microtest(reporters = Stoertebeker::DEFAULT_MICROTEST_REPORTERS, &server)
- run_minitest(&server)
- run_tests(test_context, test_runner, &server)
Class Method Detail
Starts the electron server and client, yields the block with the Context and
terminates the electron server after the block finishes.
Waits for the block tries times to return true, waiting delay ms after each try.