Skip to main content
Jump to: navigation, search

List of components to unit test.

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 (~3 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
yaronm Done
DOM modeling of sample files and compare with goldens yaronm Done


  • 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
edenk done
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
rganor done
Operating SourceParser on sample files and compare with goldens edenk done


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


Core - PHP Model

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


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


  • 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)
rganor done
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)
rganor done


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


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


Core - Formatter

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


Debug - Debugger

  • Protocol
Feature Responsibility Status
Protocol



Test - Framework

Feature Responsibility Status
PHP Project rganor done
Goldens rganor done

Back to the top