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

Difference between revisions of "List of components to unit test."

(Lexer (Model))
(Core - Formatter)
 
(46 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Lexer (Model) ==
+
== Core - Document Model ==
 +
* Lexer (~3 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
</table>
 +
<table border=1 width=100% >
 +
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
   <tr>
+
   <tr> <td> '''PHP4'''
      <td> PHP4
+
# Reserved words
#reserved words
+
# Operators
#Strings
+
# Strings
#Comments
+
# Comments  
<br><td> yaronm <td>  
+
## line comments
   <tr>
+
## block comments
      <td> PHP5
+
## PhpDocBlock
#reserved words
+
# Heredoc
#Strings
+
<br><td> yaronm <td> done
#Comments
+
   <tr> <td> '''PHP5'''
<td> edenk <td>  
+
# Reserved words
   <tr>
+
# Operators
      <td> Lex Errors <td> seval <td>  
+
# Strings
 +
# Comments  
 +
## line comments
 +
## block comments
 +
## PhpDocBlock
 +
# Heredoc
 +
<td> edenk <td> done
 +
   <tr> <td> '''Lex Errors''' <td> rganor <td> done
 +
  <tr> <td> '''Lexing of sample files and compare with goldens''' <td> rganor <td> done
 
</table>
 
</table>
 
+
<br>
== Lexer (Highlighing) ==
+
* DOM model (~3 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> PHP4 <td>  <td>
+
       <td> '''PHP DOM'''
  <tr>
+
# Pure PHP file structure
      <td> PHP5 <td>  <td>  
+
# PHP code embedded in HTML tag
  <tr>
+
# PHP code as html attribute key
      <td> Lex Errors <td> <td>  
+
# PHP code as html attribute value
 +
<td> yaronm <td> Done
 +
<tr> <td> '''DOM modeling of sample files and compare with goldens''' <td> yaronm <td> Done
 
</table>
 
</table>
 
+
<br>
== Parser ==
+
* Source Parser (~5 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
   <tr width=100% style="color: yellow; background-color: green;">
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> PHP4 <td> <td>  
+
       <td> Tokenizer
 +
# Pure PHP file structure
 +
# PHP code embedded in HTML tag
 +
# PHP code as html attribute key
 +
# PHP code as html attribute value
 +
<td> edenk <td> done
 +
 
 
   <tr>
 
   <tr>
       <td> PHP5 <td> <td>  
+
       <td> Source Parser
  <tr>
+
# Pure PHP file structure
      <td> Parser Errors <td> <td>  
+
# PHP code embedded in HTML tag
 +
# PHP code as html attribute key
 +
# PHP code as html attribute value
 +
<td> rganor <td> done
 +
<tr> <td> '''Operating SourceParser on sample files and compare with goldens''' <td> edenk <td> done
 
</table>
 
</table>
 
+
<br>
== Language model ==
+
* PHP Partitioner (~2 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
 
   <tr width=100% style="color: yellow; background-color: red;" >
 
   <tr width=100% style="color: yellow; background-color: red;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> PHP4 <td> <td>  
+
       <td>
  <tr>
+
# Partitioner - COMMENT (Line + block)
      <td> PHP5 <td> <td>  
+
# Partitioner - STRING
 +
# Partitioner - DEFAULT
 +
<td> apeled <td> done
 +
<tr> <td> '''Partitioner on sample files and compare with goldens''' <td> shacharb <td> in process
 
</table>
 
</table>
 +
<br>
  
== User model ==
+
== Core - PHP Model ==
 +
* Parser (~5 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> PHP4 <td>  <td>  
+
       <td> '''Client Parser''' <td>  <td>  
 
   <tr>
 
   <tr>
       <td> PHP5 <td>  <td>
+
       <td> '''Parser Errors''' <td>  <td>  
  <tr>
+
      <td> HTML & PHP  <td>  <td>  
+
 
</table>
 
</table>
 
+
<br>
== Include Path model ==
+
* Language model (~1 day)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> ZIP files <td> <td>  
+
       <td> '''PHP4''' - Golden the language model  <td> rganor <td> done
 
   <tr>
 
   <tr>
       <td> Folders <td> <td>  
+
       <td> '''PHP5''' - Golden the language model <td> rganor <td> done
  <tr>
+
      <td> Variable <td>  <td>
+
  <tr>
+
      <td> External / Internal <td>  <td>  
+
 
</table>
 
</table>
 
+
<br>
== Partitioner ==
+
* User model (~5 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> Functionality <td>  <td>  
+
       <td> '''PHP4'''
 +
# Class with function and variables
 +
# Composite Class
 +
# Nested Classes
 +
# Independent function
 +
# Constants (DEFINE)
 +
  <td> rganor <td>  done
 +
  <tr>
 +
      <td> '''PHP5'''
 +
# Class with function and variables
 +
# Inheritance classes
 +
# abstract classes
 +
# __get() __set() __call() functions
 +
# Composite Class
 +
# Nested Classes
 +
# Independent function
 +
# Constants (DEFINE)
 +
<td> rganor <td> done
 
</table>
 
</table>
 
+
<br>
== DOM model ==
+
* Include Path model (~3 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
 
   <tr width=100% style="color: yellow; background-color: red;" >
 
   <tr width=100% style="color: yellow; background-color: red;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> PHP DOM  <td>  <td>  
+
       <td> '''ZIP files''' <td>  <td>  
 
   <tr>
 
   <tr>
       <td> Complex with HTML <td>  <td>  
+
       <td> '''Folders''' <td>  <td>
 +
  <tr>
 +
      <td> '''Variable''' <td>  <td>
 +
  <tr>
 +
      <td> '''External / Internal''' <td>  <td>  
 
</table>
 
</table>
 
+
<br>
== Syntax Errors ==
+
* Syntax Errors (~1 day)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> Messages <td>  <td>  
+
       <td> '''Messages''' <td>  <td>  
 
</table>
 
</table>
 +
<br>
  
== Debug communication ==
+
== Core - Formatter ==
 
<table border=1 width=100% >
 
<table border=1 width=100% >
   <tr width=100% style="color: yellow; background-color: red;" >
+
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td>  <td>  <td>  
+
       <td> '''Testing Strategies'''
 +
# Case
 +
# Comment
 +
# Curly
 +
# Default
 +
# Close tag
 +
<td>  mshukrun <td> done
 +
  <tr>
 +
      <td> '''Golden various files that were formatted''' <td>  <td>  
 +
 
 
</table>
 
</table>
+
<br>
  
== Debug messages  ==
+
== Debug - Debugger ==
 +
* Protocol
 
<table border=1 width=100% >
 
<table border=1 width=100% >
 
   <tr width=100% style="color: yellow; background-color: red;" >
 
   <tr width=100% style="color: yellow; background-color: red;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> <td>  <td>  
+
       <td> Protocol <td>  <td>  
 
</table>
 
</table>
+
<br>
 +
<br>
  
== Debug stack frame ==
+
== Test - Framework ==
<table border=1 width=100% >
+
  <tr width=100% style="color: yellow; background-color: red;" >
+
      <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
+
  <tr>
+
      <td> <td>  <td>
+
</table>
+
+
== Debug server ==
+
<table border=1 width=100% >
+
  <tr width=100% style="color: yellow; background-color: red;" >
+
      <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
+
  <tr>
+
      <td>  <td>  <td>
+
</table>
+
+
== PHPIDE test framework ==
+
 
<table border=1 width=100% >
 
<table border=1 width=100% >
 
   <tr width=100% style="color: yellow; background-color: green;" >
 
   <tr width=100% style="color: yellow; background-color: green;" >

Latest revision as of 07:15, 4 June 2007

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