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:0x000000013a8f6ef8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6ed0 @start_time=2025-02-08 16:16:04.055323 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 @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:0x000000014cb674f0 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f6ef8 ...>>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013a992510>, @failures=[], @errors=[#<Test::Unit::Error:0x000000014cb674f0 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f6ef8 ...>>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013a993848 @a_proc=#<Proc:0x000000013a993870 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=5278087280>=>#<Proc:0x000000013a993870 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>}, "Test::Unit::TestResult::CHANGED"=>{#<Test::Unit::Util::ProcWrapper:0x000000013a9932f8 @a_proc=#<Proc:0x000000013a993320 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>, @hash=5278085920>=>#<Proc:0x000000013a993320 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>}, "Test::Unit::TestResult::PASS_ASSERTION"=>{#<Test::Unit::Util::ProcWrapper:0x000000013a992e70 @a_proc=#<Proc:0x000000013a992e98 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>, @hash=5278084760>=>#<Proc:0x000000013a992e98 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>}, "Test::Unit::TestResult::FAULT"=>{#<Test::Unit::Util::ProcWrapper:0x000000013a9929c0 @a_proc=#<Proc:0x000000013a9929e8 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>, @hash=5278083560>=>#<Proc:0x000000013a9929e8 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.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:0x000000013a8f6408 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f63e0 @start_time=2025-02-08 16:16:04.069376 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 @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:0x000000014cb674f0 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f6ef8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6ed0 @start_time=2025-02-08 16:16:04.055323 +0000, @elapsed_time=0.014032, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013a9417a0 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000013a8f6408 ...>>, @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:0x000000013a992510>, @failures=[], @errors=[#<Test::Unit::Error:0x000000014cb674f0 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f6ef8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6ed0 @start_time=2025-02-08 16:16:04.055323 +0000, @elapsed_time=0.014032, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013a9417a0 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000013a8f6408 ...>>, @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:0x000000013a993848 @a_proc=#<Proc:0x000000013a993870 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=5278087280>=>#<Proc:0x000000013a993870 /Users/runner/work/csv/csv/vendor/bundle/ruby/3.0.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>}, "Test::Unit::TestResult::CHANGED"=>{#<Test::Unit::Util::ProcWrapper:0x000000013a9932f8 @a_proc=#<Proc:0x000000013a993320 /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:0x000000013a8f60e8 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6098 @start_time=2025-02-08 16:16:04.07912 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 @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:0x000000014cb674f0 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f6ef8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6ed0 @start_time=2025-02-08 16:16:04.055323 +0000, @elapsed_time=0.014032, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013a9417a0 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000013a8f6408 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f63e0 @start_time=2025-02-08 16:16:04.069376 +0000, @elapsed_time=0.009728, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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:0x000000013a9f6998 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f60e8 ...>>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013a992510>, @failures=[], @errors=[#<Test::Unit::Error:0x000000014cb674f0 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f6ef8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6ed0 @start_time=2025-02-08 16:16:04.055323 +0000, @elapsed_time=0.014032, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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.0.7/arm64/lib/ruby/3.0.0/tempfile.rb:358: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:0x000000013a8f5e40 @method_name="test_option_v", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f5df0 @start_time=2025-02-08 16:16:04.094389 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 @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:0x000000014cb674f0 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f6ef8 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6ed0 @start_time=2025-02-08 16:16:04.055323 +0000, @elapsed_time=0.014032, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013a9417a0 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x000000013a8f6408 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f63e0 @start_time=2025-02-08 16:16:04.069376 +0000, @elapsed_time=0.009728, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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:0x000000013a9f6998 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f60e8 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x000000013a8f6098 @start_time=2025-02-08 16:16:04.07912 +0000, @elapsed_time=0.015252, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x000000013a99c1a0 ...>, @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.0.7/arm64/lib/ruby/3.0.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:0x000000013aa7dd80 @test_name="test_option_v(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x000000013a8f5e40 ...>>, @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.0.7/arm64/lib/ruby/3.0.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
|
Test
Process completed with exit code 1.
|
Loading