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."

(Code - PHP Model)
(Core - Formatter)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Core - Document Model ==
 
== Core - Document Model ==
* Lexer
+
* Lexer (~3 days)
 
<table border=1 width=100% >
 
<table border=1 width=100% >
 
</table>
 
</table>
Line 30: Line 30:
 
</table>
 
</table>
 
<br>
 
<br>
* DOM model  
+
* 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>
Line 40: Line 40:
 
# PHP code as html attribute key  
 
# PHP code as html attribute key  
 
# PHP code as html attribute value
 
# PHP code as html attribute value
<td> <td>
+
<td> yaronm <td> Done
<tr> <td> '''DOM modeling of sample files and compare with goldens''' <td> rganor <td> done
+
<tr> <td> '''DOM modeling of sample files and compare with goldens''' <td> yaronm <td> Done
 
</table>
 
</table>
 
<br>
 
<br>
* Source 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>
Line 54: Line 54:
 
# PHP code as html attribute key  
 
# PHP code as html attribute key  
 
# PHP code as html attribute value
 
# PHP code as html attribute value
<td> <td>   
+
<td> edenk <td>  done
  
 
   <tr>
 
   <tr>
Line 62: Line 62:
 
# PHP code as html attribute key  
 
# PHP code as html attribute key  
 
# PHP code as html attribute value
 
# PHP code as html attribute value
<td> <td>
+
<td> rganor <td> done
<tr> <td> '''Operating SourceParser on sample files and compare with goldens''' <td> rganor <td> done
+
<tr> <td> '''Operating SourceParser on sample files and compare with goldens''' <td> edenk <td> done
 
</table>
 
</table>
 
<br>
 
<br>
* PHP Partitioner
+
* 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;" >
Line 75: Line 75:
 
# Partitioner - STRING
 
# Partitioner - STRING
 
# Partitioner - DEFAULT
 
# Partitioner - DEFAULT
<td> <td>
+
<td> apeled <td> done
<tr> <td> '''Partitioner on sample files and compare with goldens''' <td> rganor <td> done
+
<tr> <td> '''Partitioner on sample files and compare with goldens''' <td> shacharb <td> in process
 
</table>
 
</table>
 
<br>
 
<br>
 +
 
== Core - PHP Model ==
 
== Core - PHP Model ==
* Lexer (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
+
  <tr> <td> '''PHP4'''
+
# Reserved words
+
# Operators
+
# Strings
+
# Comments
+
## line comments
+
## block comments
+
## PhpDocBlock
+
# Heredoc
+
<br><td> yaronm <td> done
+
  <tr>
+
      <td> '''PHP5'''
+
# Reserved words
+
# Operators
+
# Strings
+
# Comments
+
## line comments
+
## block comments
+
## PhpDocBlock
+
# Heredoc
+
<br><td> edenk <td> done
+
  <tr>
+
  <tr> <td> '''Lex Errors''' <td> rganor <td> done
+
  <tr> <td> '''Lexing of sample files and compare with goldens''' <td> rganor <td> done
+
</table>
+
<br>
+
* Parser
+
<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
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
Line 120: Line 91:
 
</table>
 
</table>
 
<br>
 
<br>
* Language 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> '''PHP4''' - Golden the language model  <td> <td>  
+
       <td> '''PHP4''' - Golden the language model  <td> rganor <td> done
 
   <tr>
 
   <tr>
       <td> '''PHP5''' - Golden the language model  <td> <td>  
+
       <td> '''PHP5''' - Golden the language model  <td> rganor <td> done
 
</table>
 
</table>
 
<br>
 
<br>
* User model
+
* 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>
Line 141: Line 112:
 
# Independent function
 
# Independent function
 
# Constants (DEFINE)
 
# Constants (DEFINE)
  <td> <td>  
+
  <td> rganor <td> done
 
   <tr>
 
   <tr>
 
       <td> '''PHP5'''
 
       <td> '''PHP5'''
Line 152: Line 123:
 
# Independent function
 
# Independent function
 
# Constants (DEFINE)
 
# Constants (DEFINE)
  <td> <td>  
+
  <td> rganor <td> done
 
</table>
 
</table>
 
<br>
 
<br>
* Include Path 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;" >
Line 169: Line 140:
 
</table>
 
</table>
 
<br>
 
<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>
Line 180: Line 151:
 
== Core - Formatter ==
 
== 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'''
</table>
+
# Case
 +
# Comment
 +
# Curly
 +
# Default
 +
# Close tag
 +
<td>  mshukrun <td> done
 +
  <tr>
 +
      <td> '''Golden various files that were formatted''' <td>  <td>  
  
 
== Debug communication ==
 
<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>
 
</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