view · edit · sidebar · attach · print · history

20110317-testcases-oddb_org

<< | Index | >>


  1. Increase coverge

Goal/Estimate/Evaluation
  • test-cases coverage oddb.org / 76% / 76.01%
Milestones
  1. src/view/additional_information.rb (coverage: 77.41%) 10:00
    • src/view/migel/product.rb (coverage: 70.59%) (This includes AdditionalInformation module)
  2. src/view/drugs/centeredsearchform.rb (coverage: 34.09%) 16:00
  3. src/view/ajax/ddd_chart.rb (coverage: 15.03%)
Summary
Commits

Increase coverge

Updated

  • src/view/additional_information.rb (coverage: 100%)
    • (actually, test_view/migel/product.rb is updated)
  • test_view/drugs/centeredsearchform.rb (coverage: 100%)
  • test_view/ajax/ddd_chart.rb (coverage: 38.56%)

Commit

Total coverage: 76.01%

Error

"/home/masa/ywesee/oddb.org/test/test_view/pointersteps.rb"
"/home/masa/ywesee/oddb.org/test/test_view/pager.rb"
"/home/masa/ywesee/oddb.org/test/test_view/navigationfoot.rb"
/home/masa/ywesee/oddb.org/test/test_view/navigationfoot.rb:15: warning: already initialized constant ODDB_VERSION
"/home/masa/ywesee/oddb.org/test/test_view/logo.rb"
"/home/masa/ywesee/oddb.org/test/test_view/drugs/resultlist.rb"
"/home/masa/ywesee/oddb.org/test/test_view/drugs/csv_result.rb"
"/home/masa/ywesee/oddb.org/test/test_view/descriptionlist.rb"
"/home/masa/ywesee/oddb.org/test/test_view/descriptionform.rb"
"/home/masa/ywesee/oddb.org/test/test_view/companies/companylist.rb"
"/home/masa/ywesee/oddb.org/test/test_view/companies/company.rb"
"/home/masa/ywesee/oddb.org/test/test_view/chapter.rb"
"/home/masa/ywesee/oddb.org/test/test_view/admin/sequence.rb"
"/home/masa/ywesee/oddb.org/test/test_view/admin/registration.rb"
"/home/masa/ywesee/oddb.org/test/test_view/admin/package.rb"
"/home/masa/ywesee/oddb.org/test/test_view/admin/galenicform.rb"
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant ODDB::Test::Unit (NameError)
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:80:in `const_missing'
        from /home/masa/ywesee/oddb.org/test/test_view/admin/galenicform.rb:24
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require'
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:521:in `new_constants_in'
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require'
        from suite.rb:11
        from /usr/lib64/ruby/1.8/find.rb:39:in `find'
        from /usr/lib64/ruby/1.8/find.rb:38:in `catch'
        from /usr/lib64/ruby/1.8/find.rb:38:in `find'
        from suite.rb:8

But the test file runs if it is only called

masa@masa ~/ywesee/oddb.org/test/test_view $ ruby admin/galenicform.rb 
Loaded suite admin/galenicform
Started
.
Finished in 0.003622 seconds.

1 tests, 1 assertions, 0 failures, 0 errors

Commit

view · edit · sidebar · attach · print · history
Page last modified on March 18, 2011, at 04:56 PM