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

(Core - PHP Model)
(Core - Formatter)
 
(6 intermediate revisions by 3 users not shown)
Line 32: Line 32:
 
* DOM model (~3 days)
 
* 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> yaronm <td> in process
+
<td> yaronm <td> Done
<tr> <td> '''DOM modeling of sample files and compare with goldens''' <td> yaronm <td> in process
+
<tr> <td> '''DOM modeling of sample files and compare with goldens''' <td> yaronm <td> Done
 
</table>
 
</table>
 
<br>
 
<br>
Line 75: Line 75:
 
# Partitioner - STRING
 
# Partitioner - STRING
 
# Partitioner - DEFAULT
 
# Partitioner - DEFAULT
<td> shacharb <td> done
+
<td> apeled <td> done
 
<tr> <td> '''Partitioner on sample files and compare with goldens''' <td> shacharb <td> in process
 
<tr> <td> '''Partitioner on sample files and compare with goldens''' <td> shacharb <td> in process
 
</table>
 
</table>
Line 83: Line 83:
 
* Parser (~5 days)  
 
* 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 93: Line 93:
 
* Language model (~1 day)
 
* 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> rganor <td>  
+
       <td> '''PHP4''' - Golden the language model  <td> rganor <td> done
 
   <tr>
 
   <tr>
       <td> '''PHP5''' - Golden the language model  <td> rganor <td>  
+
       <td> '''PHP5''' - Golden the language model  <td> rganor <td> done
 
</table>
 
</table>
 
<br>
 
<br>
 
* User model (~5 days)  
 
* 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 112: Line 112:
 
# Independent function
 
# Independent function
 
# Constants (DEFINE)
 
# Constants (DEFINE)
  <td> <td>  
+
  <td> rganor <td> done
 
   <tr>
 
   <tr>
 
       <td> '''PHP5'''
 
       <td> '''PHP5'''
Line 123: Line 123:
 
# Independent function
 
# Independent function
 
# Constants (DEFINE)
 
# Constants (DEFINE)
  <td> <td>  
+
  <td> rganor <td> done
 
</table>
 
</table>
 
<br>
 
<br>
Line 142: Line 142:
 
* Syntax Errors (~1 day)
 
* 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 150: Line 150:
  
 
== Core - Formatter ==
 
== Core - Formatter ==
(~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 161: Line 160:
 
# Default
 
# Default
 
# Close tag
 
# Close tag
<td>  <td>  
+
<td>  mshukrun <td> done
 
   <tr>
 
   <tr>
 
       <td> '''Golden various files that were formatted''' <td>  <td>  
 
       <td> '''Golden various files that were formatted''' <td>  <td>  
Line 169: Line 168:
  
 
== Debug - Debugger ==
 
== Debug - Debugger ==
* Messages
+
* 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> Messages <td>  <td>  
+
       <td> Protocol <td>  <td>  
 
</table>
 
</table>
 
<br>
 
<br>
* Stack Frames
+
<br>
<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> Stack Frames <td>  <td>
+
</table>
+
<br>
+
 
== Test - Framework  ==
 
== Test - Framework  ==
 
<table border=1 width=100% >
 
<table border=1 width=100% >

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