Console application for filtering CSV #635
Annotations
4 errors
Test:
test/csv/csv-filter/test_csv_filter.rb#L62
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c317384e0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c10a0 @start_time=2025-02-08 16:16:17.3438359 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000021c31aa8f30 @assertion_count=4020, @pass_count=510, @run_count=511, @summary_generators=[:failure_summary, :error_summary, :pending_summary, :omission_summary, :notification_summary], @problem_checkers=[:failure_occurred?, :error_occurred?], @Faults=[#<Test::Unit::Omission:0x0000021c3195cdc0 @test_name="test_open_with_bom(TestCSVInterfaceRead)", @location=["D:/a/csv/csv/test/csv/interface/test_read.rb:238:in `test_open_with_bom'"], @message="BOM detection on Windows may be buggy: Bug #20526", @method_name="test_open_with_bom">, #<Test::Unit::Error:0x0000021c31d69670 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c317384e0 ...>>, @method_name="test_invalid_option", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>], @stop_tag=#<Object:0x0000021c319e5760>, @failures=[], @errors=[#<Test::Unit::Error:0x0000021c31d69670 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c317384e0 ...>>, @method_name="test_invalid_option", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>], @pendings=[], @omissions=[#<Test::Unit::Omission:0x0000021c3195cdc0 @test_name="test_open_with_bom(TestCSVInterfaceRead)", @location=["D:/a/csv/csv/test/csv/interface/test_read.rb:238:in `test_open_with_bom'"], @message="BOM detection on Windows may be buggy: Bug #20526", @method_name="test_open_with_bom">], @notifications=[], @channels={"Test::Unit::TestResult::FINISHED"=>{#<Test::Unit::Util::ProcWrapper:0x0000021c319e9ab8 @a_proc=#<Proc:0x0000021c319e9b08 D:/a/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=2320114817800>=>#<Proc:0x0000021c319e9b08 D:/a/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>}, "Test::Unit::TestResult::CHANGED"=>{#<Test::Unit::Util::ProcWrapper:0x0000021c319e6610 @a_proc=#<Proc:0x0000021c319e6660 D:/a/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>, @hash=2320114804320>=>#<Proc:0x0000021c319e6660 D:/a/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>}, "Test::Unit::TestResult::PASS_ASSERTION"=>{#<Test::Unit::Util::ProcWrapper:0x0000021c319e6110 @a_proc=#<Proc:0x0000021c319e6160 D:/a/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>, @hash=2320114803040>=>#<Proc:0x0000021c319e6160 D:/a/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>}, "Test::Unit::TestResult::FAULT"=>{#<Test::Unit::Util::ProcWrapper:0x0000021c319e5c38 @a_proc=#<Proc:0x0000021c319e5c88 D:/a/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>, @hash=2320114801800>=>#<Proc:0x0000021c3
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L77
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c31737dd8 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c0ec0 @start_time=2025-02-08 16:16:17.3464618 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000021c31aa8f30 @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::Omission:0x0000021c3195cdc0 @test_name="test_open_with_bom(TestCSVInterfaceRead)", @location=["D:/a/csv/csv/test/csv/interface/test_read.rb:238:in `test_open_with_bom'"], @message="BOM detection on Windows may be buggy: Bug #20526", @method_name="test_open_with_bom">, #<Test::Unit::Error:0x0000021c31d69670 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c317384e0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c10a0 @start_time=2025-02-08 16:16:17.3438359 +0000, @elapsed_time=0.0023927, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000021c31aa8f30 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @method_name="test_invalid_option", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x0000021c319be1b0 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c31737dd8 ...>>, @method_name="test_option_h", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>], @stop_tag=#<Object:0x0000021c319e5760>, @failures=[], @errors=[#<Test::Unit::Error:0x0000021c31d69670 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c317384e0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c10a0 @start_time=2025-02-08 16:16:17.3438359 +0000, @elapsed_time=0.0023927, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000021c31aa8f30 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @method_name="test_invalid_option", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x0000021c319be1b0 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c31737dd8 ...>>, @method_name="test_option_h", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in resul
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L83
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c31737c48 @method_name="test_option_v", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c0e20 @start_time=2025-02-08 16:16:17.3484857 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000021c31aa8f30 @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::Omission:0x0000021c3195cdc0 @test_name="test_open_with_bom(TestCSVInterfaceRead)", @location=["D:/a/csv/csv/test/csv/interface/test_read.rb:238:in `test_open_with_bom'"], @message="BOM detection on Windows may be buggy: Bug #20526", @method_name="test_open_with_bom">, #<Test::Unit::Error:0x0000021c31d69670 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c317384e0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c10a0 @start_time=2025-02-08 16:16:17.3438359 +0000, @elapsed_time=0.0023927, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000021c31aa8f30 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @method_name="test_invalid_option", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x0000021c319be1b0 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c31737dd8 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c0ec0 @start_time=2025-02-08 16:16:17.3464618 +0000, @elapsed_time=0.002001, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000021c31aa8f30 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @method_name="test_option_h", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>, #<Test::Unit::Error:0x0000021c319b8a80 @test_name="test_option_v(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c31737c48 ...>>, @method_name="test_option_v", @location=["D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "C:/hostedtoolcache/windows/Ruby/3.2.7/x64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "D:/a/csv/csv/test/csv/csv-filter/test_csv_filter.rb:83:in `test_option_v'"]>], @stop_tag=#<Object:0x0000021c319e5760>, @failures=[], @errors=[#<Test::Unit::Error:0x0000021c31d69670 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x0000021c317384e0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x0000021c318c10a0 @start_time=2025-02-08 16:16:17.3438359 +0000, @elapsed_time=0.0023927, @passed=false, @interrupted=true, @test_
|
Test
Process completed with exit code 1.
|
Loading