Console application for filtering CSV #637
Annotations
5 errors
Test:
test/csv/csv-filter/test_csv_filter.rb#L62
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af650 @start_time=2025-02-08 16:16:06.196263 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 @assertion_count=4021, @pass_count=511, @run_count=511, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00000001065c4048 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>], @stop_tag=#<Object:0x000000010658d728>, @failures=[], @errors=[#<Test::Unit::Error:0x00000001065c4048 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>], @pendings=[], @omissions=[], @notifications=[], @channels={"Test::Unit::TestResult::FINISHED"=>{#<Test::Unit::Util::ProcWrapper:0x000000010658e7b8 @a_proc=#<Proc:0x000000010658e7e0 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=4401457120>=>#<Proc:0x000000010658e7e0 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>}, "Test::Unit::TestResult::CHANGED"=>{#<Test::Unit::Util::ProcWrapper:0x000000010658e330 @a_proc=#<Proc:0x000000010658e358 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>, @hash=4401455960>=>#<Proc:0x000000010658e358 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>}, "Test::Unit::TestResult::PASS_ASSERTION"=>{#<Test::Unit::Util::ProcWrapper:0x000000010658df20 @a_proc=#<Proc:0x000000010658df48 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>, @hash=4401454920>=>#<Proc:0x000000010658df48 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>}, "Test::Unit::TestResult::FAULT"=>{#<Test::Unit::Util::ProcWrapper:0x000000010658db10 @a_proc=#<Proc:0x000000010658db38 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>, @hash=4401453880>=>#<Proc:0x000000010658db38 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>}}>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'
/U
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L70
NoMethodError: undefined method `api_output' for #<TestFilter:0x00000001062af218 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af1f0 @start_time=2025-02-08 16:16:06.21141 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 @assertion_count=4021, @pass_count=511, @run_count=512, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00000001065c4048 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af650 @start_time=2025-02-08 16:16:06.196263 +0000, @elapsed_time=0.015131, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x0000000102aad810 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00000001062af218 ...>
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:70:in `test_no_options'"]>], @stop_tag=#<Object:0x000000010658d728>, @failures=[], @errors=[#<Test::Unit::Error:0x00000001065c4048 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af650 @start_time=2025-02-08 16:16:06.196263 +0000, @elapsed_time=0.015131, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x0000000102aad810 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00000001062af218 ...>
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:70:in `test_no_options'"]>], @pendings=[], @omissions=[], @notifications=[], @channels={"Test::Unit::TestResult::FINISHED"=>{#<Test::Unit::Util::ProcWrapper:0x000000010658e7b8 @a_proc=#<Proc:0x000000010658e7e0 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=4401457120>=>#<Proc:0x000000010658e7e0 /Users/runner/work/csv/csv/vendor/bundle/ruby/3
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L77
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af088 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af060 @start_time=2025-02-08 16:16:06.221325 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 @assertion_count=4021, @pass_count=511, @run_count=513, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00000001065c4048 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af650 @start_time=2025-02-08 16:16:06.196263 +0000, @elapsed_time=0.015131, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x0000000102aad810 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00000001062af218 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af1f0 @start_time=2025-02-08 16:16:06.21141 +0000, @elapsed_time=0.009899, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:70:in `test_no_options'"]>, #<Test::Unit::Error:0x000000010655cb28 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af088 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_h", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>], @stop_tag=#<Object:0x000000010658d728>, @failures=[], @errors=[#<Test::Unit::Error:0x00000001065c4048 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af650 @start_time=2025-02-08 16:16:06.196263 +0000, @elapsed_time=0.015131, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L83
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062aeef8 @method_name="test_option_v", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062aeed0 @start_time=2025-02-08 16:16:06.236345 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 @assertion_count=4021, @pass_count=511, @run_count=514, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Error:0x00000001065c4048 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af678 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af650 @start_time=2025-02-08 16:16:06.196263 +0000, @elapsed_time=0.015131, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x0000000102aad810 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00000001062af218 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af1f0 @start_time=2025-02-08 16:16:06.21141 +0000, @elapsed_time=0.009899, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:70:in `test_no_options'"]>, #<Test::Unit::Error:0x000000010655cb28 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062af088 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x00000001062af060 @start_time=2025-02-08 16:16:06.221325 +0000, @elapsed_time=0.015004, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000010658ed58 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_h", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/runner/hostedtoolcache/Ruby/3.1.6/arm64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>, #<Test::Unit::Error:0x0000000102ab7248 @test_name="test_option_v(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00000001062aeef8 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_v", @location=["/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/Users/r
|
Test
Process completed with exit code 1.
|
Loading