PHP Editor Basic Acceptance Tests
From Aptana Development
Contents |
General
Remember to do the basic general tests for every editor in addition to doing the following editor-specific tests
Content Assist
- Ensure icons exist for the multiple versions of php and that they are visible completely
- Ensure that content assist filters the list based on the characters immediately preceding the current caret location
- Ensure content assist appears with all possible entries by hitting Ctrl+Space with only <?php ?> in the editor
- Ensure entries are selected in the content assist window as you type (Only in m10)
- Ensure hitting enter inserts the current content assist selection
Outline
- Ensure outline appears for both PHP and HTML nodes inside PHP editor
Bracket Insertion/Auto-typing
- Verify typing a '{', ', or " auto-inserts a matching character
- Verify typing the "Enter" key in between {} will move the cursor down one line, auto indent it, and move the trailing brace to the beginning of the next line.
Formatting
- Will change in M10. In M9, the key combination Ctrl + Shift + F should format only the HTML part of a document in the PHP editor
Colorization
- Type in the document and cut/paste content. Verify that no strange colorization appears
Folding
- Will change in M10, In M9 no folding should exist.
- Ensure folding icons exists for HTML, JS, and CSS nodes inside the PHP editor
Validation
- Verify that typing errors in the main editor window results in validation errors appearing and disappearing in the validation view


