view · edit · sidebar · attach · print · history

20110311-testcases-oddb_org

<< | Index | >>


  1. Increase coverge

Goal/Estimate/Evaluation
  • test-cases coverage oddb.org / 75% / 73.68%
Milestones
  1. src/util/html_parser.rb (coverage: 87%) 10:30
  2. src/view/admin/registration.rb (coverage: 55%) 16:00
  3. src/state/admin/sequence.rb (coverage: 16%)
Summary
Commits

Increase coverge

Updated

  • src/util/html_parser.rb: coverage: 100%
  • src/view/admin/registration.rb coverage: 99.54%

Memo

  • The View classes in oddb.org inherit some of the classes in HtmlGrid

For example (oddb.org/src/view/admin/registration.rb)

  • class RegistrationSequences < HtmlGrid::List
  • class RegistrationInnerComposite < HtmlGrid::Composite

The subclass always has the same methods as the Superclass. The subclass must have more methods than the Superclass.

Summary for the beginner Zeno:

  • HTMLGRID in many ways is the superclass of oddb.org classes when it comes to HTML-Output of oddb.org in the Browser. ODDB.org classes need the superclass from HTMLGRID.

Commit

Total coverage: 73.68%

view · edit · sidebar · attach · print · history
Page last modified on March 11, 2011, at 05:00 PM