NetCAT PHPTribe

(Difference between revisions)
Line 12: Line 12:
===Recommendations===
===Recommendations===
====Test suites that need update/are invalid:====
====Test suites that need update/are invalid:====
-
# 1.4.5
+
# '''1.4.5: Verify variable from included file code completion.'''
-
Verify variable from included file code completion.
+
-
    Include an other PHP file into PHP source.
+
Include an other PHP file into PHP source.
-
    Open that PHP source and create a global variable there.
+
Open that PHP source and create a global variable there.
-
    Create a PHP function in the first source.
+
Create a PHP function in the first source.
-
    Inside that function, type several first symbols of the variable name and invoke code completion.
+
Inside that function, type several first symbols of the variable name and invoke code completion.
-
    Choose that variable in the list and press Enter.  
+
Choose that variable in the list and press Enter.  
-
 
+
EXPECTED RESULT: Code is completed properly. No require or include directive is auto-generated.  
-
    EXPECTED RESULT: Code is completed properly. No require or include directive is auto-generated.  
+
Point 4 should read: Inside that function, type global keyword followed by several first symbols of the variable name and invoke code completion.
Point 4 should read: Inside that function, type global keyword followed by several first symbols of the variable name and invoke code completion.
-
# 1.4.13:
+
# '''1.4.13: Verify code completion after EXTENDS.'''
-
{{testcase|Verify code completion after EXTENDS.}}
+
 
-
*# Define Foo class.
+
Define Foo class.
-
*# Type "class MyClass extends F".
+
Type "class MyClass extends F".
-
*# Invoke code completion.
+
Invoke code completion.
-
** {{result|EXPECTED RESULT: Code completion appears and Foo class is shown. No any other identifiers are shown.}}
+
EXPECTED RESULT: Code completion appears and Foo class is shown. No any other identifiers are shown.
-
** Testcase should be updated, build in classes and extensions are ofcourse shown, which is expected.
+
 
 +
Testcase should be updated, build in classes and extensions are ofcourse shown, which is expected.
====Test suites that need to be removed:=====
====Test suites that need to be removed:=====
-
# 1.4.14:
+
# '''1.4.14: Verify that require directive is automatically added.'''
-
Verify that require directive is automatically added.
+
 
Create a function in PHP file.
Create a function in PHP file.
In another PHP file, invoke code completion so that that function is available.
In another PHP file, invoke code completion so that that function is available.
Select that function and press Enter.  
Select that function and press Enter.  
EXPECTED RESULT: code is completed with that function name, and require directive is added for the corresponding class.  
EXPECTED RESULT: code is completed with that function name, and require directive is added for the corresponding class.  
-
<br>
+
 
This feature is not implemented! Feature request: [http://netbeans.org/bugzilla/show_bug.cgi?id=195851]
This feature is not implemented! Feature request: [http://netbeans.org/bugzilla/show_bug.cgi?id=195851]
====Add new test suites for:====
====Add new test suites for:====
 +
# Setting PHP5 Interpreter
# Setting PHP5 Interpreter
# Selecting Symfony script
# Selecting Symfony script

Revision as of 22:01, 13 March 2011

Contents

NetBeans Community Acceptance Testing PHP Tribe

Introduction

Links

NetCAT Tribes
Test Suite 69
NetCAT

NetBeans 7.0 RC1

Recommendations

Test suites that need update/are invalid:

  1. 1.4.5: Verify variable from included file code completion.

Include an other PHP file into PHP source. Open that PHP source and create a global variable there. Create a PHP function in the first source. Inside that function, type several first symbols of the variable name and invoke code completion. Choose that variable in the list and press Enter. EXPECTED RESULT: Code is completed properly. No require or include directive is auto-generated.

Point 4 should read: Inside that function, type global keyword followed by several first symbols of the variable name and invoke code completion.

  1. 1.4.13: Verify code completion after EXTENDS.

Define Foo class. Type "class MyClass extends F". Invoke code completion. EXPECTED RESULT: Code completion appears and Foo class is shown. No any other identifiers are shown.

Testcase should be updated, build in classes and extensions are ofcourse shown, which is expected.

Test suites that need to be removed:=

  1. 1.4.14: Verify that require directive is automatically added.

Create a function in PHP file. In another PHP file, invoke code completion so that that function is available. Select that function and press Enter. EXPECTED RESULT: code is completed with that function name, and require directive is added for the corresponding class.

This feature is not implemented! Feature request: [1]


Add new test suites for:

  1. Setting PHP5 Interpreter
  2. Selecting Symfony script
  3. Adding Symfony directory to global include path
  4. Registring NetBeans provider with ZF

Test results

# Name Sanity Other TS
1
2

Todo

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo