Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

List of components to unit test.

Revision as of 07:23, 11 December 2006 by Roy.zend.com (Talk | contribs) (Core - Document Model)

Core - Document Model

  • Lexer (~3 days)
Feature Responsibility Status
PHP4
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc

yaronm done
PHP5
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc
edenk done
Lex Errors rganor done
Lexing of sample files and compare with goldens rganor done


  • DOM model (~5 days)
Feature Responsibility Status
PHP DOM
  1. Pure PHP file structure
  2. PHP code embedded in HTML tag
  3. PHP code as html attribute key
  4. PHP code as html attribute value
DOM modeling of sample files and compare with goldens rganor


  • Source Parser (~5 days)
Feature Responsibility Status
Tokenizer
  1. Pure PHP file structure
  2. PHP code embedded in HTML tag
  3. PHP code as html attribute key
  4. PHP code as html attribute value
Source Parser
  1. Pure PHP file structure
  2. PHP code embedded in HTML tag
  3. PHP code as html attribute key
  4. PHP code as html attribute value
Operating SourceParser on sample files and compare with goldens rganor done


  • PHP Partitioner (~2 days)
Feature Responsibility Status
  1. Partitioner - COMMENT (Line + block)
  2. Partitioner - STRING
  3. Partitioner - DEFAULT
shacharb
Partitioner on sample files and compare with goldens shacharb


Core - PHP Model

  • Lexer (~ 3 days)
Feature Responsibility Status
PHP4
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc

yaronm done
PHP5
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc

edenk done
Lex Errors rganor done
Lexing of sample files and compare with goldens rganor done


  • Parser (~5 days)
Feature Responsibility Status
Client Parser
Parser Errors


  • Language model (~1 day)
Feature Responsibility Status
PHP4 - Golden the language model rganor
PHP5 - Golden the language model rganor


  • User model (~5 days)
Feature Responsibility Status
PHP4
  1. Class with function and variables
  2. Composite Class
  3. Nested Classes
  4. Independent function
  5. Constants (DEFINE)
PHP5
  1. Class with function and variables
  2. Inheritance classes
  3. abstract classes
  4. __get() __set() __call() functions
  5. Composite Class
  6. Nested Classes
  7. Independent function
  8. Constants (DEFINE)


  • Include Path model (~3 days)
Feature Responsibility Status
ZIP files
Folders
Variable
External / Internal


  • Syntax Errors (~1 day)
Feature Responsibility Status
Messages


Core - Formatter

(~5 days)

Feature Responsibility Status
Testing Strategies
  1. Case
  2. Comment
  3. Curly
  4. Default
  5. Close tag
Golden various files that were formatted


Debug - Debugger

  • Messages
Feature Responsibility Status
Messages


  • Stack Frames
Feature Responsibility Status
Stack Frames


Test - Framework

Feature Responsibility Status
PHP Project rganor done
Goldens rganor done

Back to the top