Sha256: 43e847833e94834c5b1ad4049873ca324ba7ff9c0d085ba8c3832f65dd83dbe7
Contents?: true
Size: 1.03 KB
Versions: 5
Compression:
Stored size: 1.03 KB
Contents
# frozen_string_literal: true # CLI#test class CLI < Thor map ['t', '-t', '--test', 'test'] => 'check' option :c, type: :boolean option :cname, type: :string option :cpath, type: :string desc 'check [OPTIONS] DIRECTORY', 'Test or check challenge contents' long_desc <<-LONGDESC (1) teuton test path/to/dir/foo , Test content of start.rb and config.yaml files. (2) teuton test path/to/dir/foo -c , Only test CONFIG information from config.yaml. (3) teuton test path/to/dir/foo --cname=demo , Test content of start.rb and demo.yaml files. (4) teuton test path/to/file/foo.rb , Test content of foo.rb and foo.yaml files. (5) teuton test path/to/file/foo.rb -c , Only test CONFIG information from foo.yaml. (6) teuton test path/to/file/foo.rb --cname=demo , Test content of foo.rb and demo.yaml files. LONGDESC ## # Verify or test Teuton test units syntax # @param path_to_rb_file [String] Route to main rb Teuton file def check(path_to_rb_file) Project.test(path_to_rb_file, options) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
teuton-2.1.8dev1 | lib/teuton/cli/test.rb |
teuton-2.1.7 | lib/teuton/cli/test.rb |
teuton-2.1.6 | lib/teuton/cli/test.rb |
teuton-2.1.5dev | lib/teuton/cli/test.rb |
teuton-2.1.4 | lib/teuton/cli/test.rb |