2018-09-27 21:49:34 +00:00
|
|
|
# This file includes all source files *except* `should.cr`.
|
2018-09-27 22:15:31 +00:00
|
|
|
# The `should.cr` file contains the optional feature for using should-syntax.
|
2018-09-27 21:49:34 +00:00
|
|
|
# Since this is disabled by default, we don't include all files.
|
2018-09-27 22:15:31 +00:00
|
|
|
# Including all files with a wildcard would accidentally enable should-syntax.
|
2018-09-27 21:49:34 +00:00
|
|
|
# Unfortunately, that leads to the existence of this file to include everything but that file.
|
|
|
|
|
2019-08-22 01:26:40 +00:00
|
|
|
# FIXME: Temporary (hopefully) require statement to workaround Crystal issue #7060.
|
|
|
|
# https://github.com/crystal-lang/crystal/issues/7060
|
|
|
|
# The primary issue seems to be around OpenSSL.
|
|
|
|
# By explicitly including it before Spectator functionality, we workaround the issue.
|
|
|
|
require "openssl"
|
|
|
|
|
2018-09-27 21:49:34 +00:00
|
|
|
# First the sub-modules.
|
|
|
|
require "./internals"
|
|
|
|
require "./dsl"
|
2018-09-28 17:47:42 +00:00
|
|
|
require "./expectations"
|
2018-09-27 21:49:34 +00:00
|
|
|
require "./matchers"
|
2019-03-01 02:14:03 +00:00
|
|
|
require "./formatting"
|
2018-09-27 21:49:34 +00:00
|
|
|
|
|
|
|
# Then all of the top-level types.
|
2018-10-14 23:10:12 +00:00
|
|
|
require "./example_component"
|
2018-09-27 21:49:34 +00:00
|
|
|
require "./example"
|
|
|
|
require "./runnable_example"
|
|
|
|
require "./pending_example"
|
2018-10-15 21:27:05 +00:00
|
|
|
require "./dummy_example"
|
2018-09-27 21:49:34 +00:00
|
|
|
|
2019-01-09 23:17:33 +00:00
|
|
|
require "./example_conditions"
|
2018-09-27 21:49:34 +00:00
|
|
|
require "./example_hooks"
|
|
|
|
require "./example_group"
|
2018-10-14 23:10:12 +00:00
|
|
|
require "./nested_example_group"
|
2018-10-14 20:28:05 +00:00
|
|
|
require "./root_example_group"
|
2018-09-27 21:49:34 +00:00
|
|
|
|
2018-12-13 20:50:59 +00:00
|
|
|
require "./config"
|
|
|
|
require "./config_builder"
|
|
|
|
require "./config_source"
|
|
|
|
require "./command_line_arguments_config_source"
|
2019-03-25 16:51:50 +00:00
|
|
|
|
2019-03-24 04:03:49 +00:00
|
|
|
require "./example_filter"
|
2019-03-25 16:51:50 +00:00
|
|
|
require "./source_example_filter"
|
|
|
|
require "./line_example_filter"
|
|
|
|
require "./name_example_filter"
|
2019-03-25 16:58:49 +00:00
|
|
|
require "./null_example_filter"
|
2019-03-25 17:10:27 +00:00
|
|
|
require "./composite_example_filter"
|
2018-12-13 20:50:59 +00:00
|
|
|
|
2018-10-20 02:58:14 +00:00
|
|
|
require "./example_failed"
|
2018-09-27 21:49:34 +00:00
|
|
|
require "./expectation_failed"
|
2018-12-12 18:48:08 +00:00
|
|
|
require "./test_suite"
|
2019-02-11 20:50:57 +00:00
|
|
|
require "./report"
|
2019-03-25 21:54:51 +00:00
|
|
|
require "./profile"
|
2018-09-27 21:49:34 +00:00
|
|
|
require "./runner"
|
|
|
|
|
|
|
|
require "./result"
|
2018-12-10 21:07:14 +00:00
|
|
|
require "./finished_result"
|
2018-09-27 21:49:34 +00:00
|
|
|
require "./successful_result"
|
|
|
|
require "./pending_result"
|
|
|
|
require "./failed_result"
|
|
|
|
require "./errored_result"
|
2018-11-13 17:08:37 +00:00
|
|
|
|
2019-02-17 19:25:23 +00:00
|
|
|
require "./source"
|
2018-11-13 17:08:37 +00:00
|
|
|
require "./example_iterator"
|