debug 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/bin/gentest DELETED
@@ -1,30 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'optparse'
4
-
5
- require_relative '../test/tool/test_builder'
6
-
7
- options = {}
8
-
9
- OptionParser.new do |opt|
10
- opt.banner = 'Usage: bin/gentest [file] [option]'
11
- opt.on('-m METHOD', 'Method name in the test file') do |m|
12
- options[:method] = m
13
- end
14
- opt.on('-c CLASS', 'Class name in the test file') do |c|
15
- options[:class] = c
16
- end
17
- opt.on('--open=FRONTEND', 'Start remote debugging with opening the network port.',
18
- 'Currently, only vscode is supported.') do |f|
19
- options[:open] = f.downcase
20
- end
21
- opt.parse!(ARGV)
22
- end
23
-
24
- exit if ARGV.empty?
25
-
26
- if options[:open] == 'vscode'
27
- DEBUGGER__::DAPTestBuilder.new(ARGV, options[:method], options[:class]).start
28
- else
29
- DEBUGGER__::LocalTestBuilder.new(ARGV, options[:method], options[:class]).start
30
- end
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here