Sha256: fe643955e51931f020a58db048a7e934fbc9a0a1643d943d542f71b9c17b6daf
Contents?: true
Size: 752 Bytes
Versions: 1
Compression:
Stored size: 752 Bytes
Contents
require_relative '../test_helper' class BasicTest < Test::Unit::TestCase TESTING_ENDPOINT = 'http://fhir.healthintersections.com.au/open' def test_suite_list tests = Crucible::Tests::Executor.list_all puts tests.keys.count assert !tests.blank?, "Failed to list tests." end def test_testscript_list skip tests = Crucible::Tests::TestScriptEngine.list_all assert !tests.blank?, "Failed to list testscripts." testscript_engine = Crucible::Tests::TestScriptEngine.new(nil) keyed_test = testscript_engine.find_test('example') assert !keyed_test.nil?, "Failed to find testscript by key" results = keyed_test.execute assert !results.nil? && !results.blank?, "Failed to execute testscript" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plan_executor-1.0.2 | test/unit/basic_test.rb |