Console application for filtering CSV #636
Annotations
5 errors
Test:
test/csv/csv-filter/test_csv_filter.rb#L62
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514b008 @start_time=2025-02-08 16:15:03.483522 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 @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:0x0000000107fd25e8 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 ...>>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x000000010805cba8>, @failures=[], @errors=[#<Test::Unit::Error:0x0000000107fd25e8 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 ...>>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x000000010805d9e0 @a_proc=#<Proc:0x000000010805da08 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=4429568520>=>#<Proc:0x000000010805da08 /Users/runner/work/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:0x000000010805d5f8 @a_proc=#<Proc:0x000000010805d620 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>, @hash=4429567520>=>#<Proc:0x000000010805d620 /Users/runner/work/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:0x000000010805d288 @a_proc=#<Proc:0x000000010805d2b0 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>, @hash=4429566640>=>#<Proc:0x000000010805d2b0 /Users/runner/work/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:0x000000010805cf18 @a_proc=#<Proc:0x000000010805cf40 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>, @hash=4429565760>=>#<Proc:0x000000010805cf40 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.2.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'
/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_opti
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L70
NoMethodError: undefined method `api_output' for #<TestFilter:0x000000010543bfd8 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514ae78 @start_time=2025-02-08 16:15:03.484759 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 @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:0x0000000107fd25e8 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514b008 @start_time=2025-02-08 16:15:03.483522 +0000, @elapsed_time=0.001226, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x000000010801a820 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000010543bfd8 ...>>, @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:0x000000010805cba8>, @failures=[], @errors=[#<Test::Unit::Error:0x0000000107fd25e8 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514b008 @start_time=2025-02-08 16:15:03.483522 +0000, @elapsed_time=0.001226, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x000000010801a820 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000010543bfd8 ...>>, @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:0x000000010805d9e0 @a_proc=#<Proc:0x000000010805da08 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.2.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=4429568520>=>#<Proc:0x000000010805da08 /Users/runner/work/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:0x000000010805d5f8 @a_proc=#<Proc:0x000000010805d620 /Users/runner/work/cs
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L77
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543be98 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514ace8 @start_time=2025-02-08 16:15:03.485406 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 @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:0x0000000107fd25e8 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514b008 @start_time=2025-02-08 16:15:03.483522 +0000, @elapsed_time=0.001226, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x000000010801a820 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000010543bfd8 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514ae78 @start_time=2025-02-08 16:15:03.484759 +0000, @elapsed_time=0.000639, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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:0x0000000108015460 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543be98 ...>>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x000000010805cba8>, @failures=[], @errors=[#<Test::Unit::Error:0x0000000107fd25e8 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514b008 @start_time=2025-02-08 16:15:03.483522 +0000, @elapsed_time=0.001226, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "/Users/runner/work/csv/csv/test/csv/csv
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L83
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543bd58 @method_name="test_option_v", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514abf8 @start_time=2025-02-08 16:15:03.486424 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 @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:0x0000000107fd25e8 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543c3e8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514b008 @start_time=2025-02-08 16:15:03.483522 +0000, @elapsed_time=0.001226, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x000000010801a820 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000010543bfd8 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514ae78 @start_time=2025-02-08 16:15:03.484759 +0000, @elapsed_time=0.000639, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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:0x0000000108015460 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543be98 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000010514ace8 @start_time=2025-02-08 16:15:03.485406 +0000, @elapsed_time=0.001008, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x0000000108013d40 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">>, @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.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407: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:0x0000000107fbfe20 @test_name="test_option_v(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000010543bd58 ...>>, @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/runner/hostedtoolcache/Ruby/3.2.7/arm64/lib/ruby/3.2.0/tempfile.rb:407:in `create'", "/Users/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/Users/runner/work/cs
|
Test
Process completed with exit code 1.
|
Loading