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:0x00007f950d99e4f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e4c8 @start_time=2025-02-08 16:14:50.003409946 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 @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:0x00007f950d94e298 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99e4f0 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>], @stop_tag=#<Object:0x00007f950c3bcfb0>, @failures=[], @errors=[#<Test::Unit::Error:0x00007f950d94e298 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99e4f0 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/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:0x00007f950c3be040 @a_proc=#<Proc:0x00007f950c3be068 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=140278132105320>=>#<Proc:0x00007f950c3be068 /home/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:0x00007f950c3bdbb8 @a_proc=#<Proc:0x00007f950c3bdbe0 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:96>, @hash=140278132104160>=>#<Proc:0x00007f950c3bdbe0 /home/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:0x00007f950c3bd7a8 @a_proc=#<Proc:0x00007f950c3bd7d0 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:99>, @hash=140278132103120>=>#<Proc:0x00007f950c3bd7d0 /home/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:0x00007f950c3bd398 @a_proc=#<Proc:0x00007f950c3bd3c0 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:102>, @hash=140278132102080>=>#<Proc:0x00007f950c3bd3c0 /home/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">
/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'
/home/runner/work/
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L70
NoMethodError: undefined method `api_output' for #<TestFilter:0x00007f950d99e040 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e018 @start_time=2025-02-08 16:14:50.020702825 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 @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:0x00007f950d94e298 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99e4f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e4c8 @start_time=2025-02-08 16:14:50.003409946 +0000, @elapsed_time=0.017266219, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x00007f950c3a3da8 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00007f950d99e040 ...>
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:70:in `test_no_options'"]>], @stop_tag=#<Object:0x00007f950c3bcfb0>, @failures=[], @errors=[#<Test::Unit::Error:0x00007f950d94e298 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99e4f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e4c8 @start_time=2025-02-08 16:14:50.003409946 +0000, @elapsed_time=0.017266219, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x00007f950c3a3da8 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00007f950d99e040 ...>
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/home/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:0x00007f950c3be040 @a_proc=#<Proc:0x00007f950c3be068 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb:93>, @hash=140278132105320>=>#<Proc:0x00007f950c3be068 /home/runner/work/csv/csv/vendor/bundle/ruby/3.1.0/gems/tes
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L77
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99de88 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99de60 @start_time=2025-02-08 16:14:50.032640746 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 @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:0x00007f950d94e298 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99e4f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e4c8 @start_time=2025-02-08 16:14:50.003409946 +0000, @elapsed_time=0.017266219, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x00007f950c3a3da8 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00007f950d99e040 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e018 @start_time=2025-02-08 16:14:50.020702825 +0000, @elapsed_time=0.011911081, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:70:in `test_no_options'"]>, #<Test::Unit::Error:0x00007f950c0b6b18 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99de88 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_h", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>], @stop_tag=#<Object:0x00007f950c3bcfb0>, @failures=[], @errors=[#<Test::Unit::Error:0x00007f950d94e298 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99e4f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e4c8 @start_time=2025-02-08 16:14:50.003409946 +0000, @elapsed_time=0.017266219, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter
|
Test:
test/csv/csv-filter/test_csv_filter.rb#L83
NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99dcd0 @method_name="test_option_v", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99dc80 @start_time=2025-02-08 16:14:50.051207345 +0000, @elapsed_time=nil, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 @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:0x00007f950d94e298 @test_name="test_invalid_option(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99e4f0 @method_name="test_invalid_option", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e4c8 @start_time=2025-02-08 16:14:50.003409946 +0000, @elapsed_time=0.017266219, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_invalid_option", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:62:in `test_invalid_option'"]>, #<Test::Unit::Error:0x00007f950c3a3da8 @test_name="test_no_options(TestFilter)", @exception=#<NoMethodError: undefined method `api_output' for #<TestFilter:0x00007f950d99e040 @method_name="test_no_options", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99e018 @start_time=2025-02-08 16:14:50.020702825 +0000, @elapsed_time=0.011911081, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
output = api_output(@input)
^^^^^^^^^^>, @method_name="test_no_options", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:70:in `test_no_options'"]>, #<Test::Unit::Error:0x00007f950c0b6b18 @test_name="test_option_h(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99de88 @method_name="test_option_h", @internal_data=#<Test::Unit::TestCase::InternalData:0x00007f950d99de60 @start_time=2025-02-08 16:14:50.032640746 +0000, @elapsed_time=0.01854003, @passed=false, @interrupted=true, @test_data_label=nil, @test_data=nil>, @_result=#<Test::Unit::TestResult:0x00007f950c3be5e0 ...>, @input="aaa,bbb,ccc\nddd,eee,fff\n">
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_h", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache/Ruby/3.1.6/x64/lib/ruby/3.1.0/tempfile.rb:358:in `create'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:45:in `results_for_cli_option'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:77:in `test_option_h'"]>, #<Test::Unit::Error:0x00007f950c3a4618 @test_name="test_option_v(TestFilter)", @exception=#<NameError: undefined local variable or method `cli_option_names' for #<TestFilter:0x00007f950d99dcd0 ...>
*cli_option_names,
^^^^^^^^^^^^^^^^>, @method_name="test_option_v", @location=["/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:30:in `run_csv_filter'", "/home/runner/work/csv/csv/test/csv/csv-filter/test_csv_filter.rb:48:in `block in results_for_cli_option'", "/opt/hostedtoolcache
|
Test
Process completed with exit code 1.
|
Loading