NewAndNoteworthyNB81
Line 190: | Line 190: | ||
[[image:weblogic_step2.png]] | [[image:weblogic_step2.png]] | ||
+ | |||
+ | =Testing= | ||
+ | |||
+ | ==Unit Testing== | ||
+ | |||
+ | ===HTML5/Javascript Node.js Application=== | ||
+ | |||
+ | ====Mocha==== | ||
+ | |||
+ | Support for Mocha has been added. This includes: | ||
+ | |||
+ | * Configuration of the mocha executable and options | ||
+ | |||
+ | [[image:Nb81-mocha-01.png]] | ||
+ | |||
+ | * Integration with Test Results window | ||
+ | |||
+ | [[image:Nb81-mocha-03.png]] | ||
+ | |||
+ | ==Integration Testing== | ||
+ | |||
+ | Support for Selenium 2.0 has been added. This includes: | ||
+ | |||
+ | ===Selenium Standalone Server === | ||
+ | |||
+ | * Server registered under Services tab | ||
+ | |||
+ | [[image:Nb81-selenium-server-02.png]] | ||
+ | |||
+ | * Configuration options | ||
+ | |||
+ | [[image:Nb81-selenium-server-01.png]] | ||
+ | |||
+ | ===Maven Java Application, Web application, EJB Module, Enterprise Application Client === | ||
+ | |||
+ | * Wizard to create selenium test file | ||
+ | |||
+ | [[image:Nb81-java-01.png]] | ||
+ | |||
+ | * Integration with Tools -> Create/Update Tests menu action for Selenium | ||
+ | |||
+ | [[image:Nb81-java-02.png]] | ||
+ | |||
+ | * Run all selenium project's tests | ||
+ | |||
+ | [[image:Nb81-java-03.png]] | ||
+ | |||
+ | * Integration with Test Results window | ||
+ | |||
+ | [[image:Nb81-java-04.png]] | ||
+ | |||
+ | ===PHP Application=== | ||
+ | |||
+ | * Configuration of the selenium tests folder location | ||
+ | |||
+ | [[image:Nb81-php-01.png]] | ||
+ | |||
+ | * Wizard to create selenium test file | ||
+ | |||
+ | [[image:Nb81-php-02.png]] | ||
+ | |||
+ | * Integration with Tools -> Create/Update Tests menu action for PHPUnit and Selenium | ||
+ | |||
+ | [[image:Nb81-php-03.png]] | ||
+ | |||
+ | * Run all selenium project's tests | ||
+ | |||
+ | [[image:Nb81-php-04.png]] | ||
+ | |||
+ | * Integration with Test Results window | ||
+ | |||
+ | [[image:Nb81-php-05.png]] | ||
+ | |||
+ | ===HTML5/Javascript Node.js Application=== | ||
+ | |||
+ | * Configuration of the selenium tests folder location | ||
+ | |||
+ | [[image:Nb81-selenium-node-01.png]] | ||
+ | |||
+ | * Run all selenium project's tests | ||
+ | |||
+ | [[image:Nb81-protractor-03.png]] | ||
+ | |||
+ | * Run/debug specific selenium test | ||
+ | |||
+ | [[image:Nb81-protractor-04.png]] | ||
+ | |||
+ | * Integration with Test Results window | ||
+ | |||
+ | [[image:Nb81-protractor-05.png]] | ||
+ | |||
+ | * Wizards to create selenium related files | ||
+ | |||
+ | [[image:Nb81-selenium-node-02.png]] | ||
+ | |||
+ | ====Mocha==== | ||
+ | * Configuration of testing provider options | ||
+ | |||
+ | [[image:Nb81-mocha-02.png]] | ||
+ | |||
+ | ====Protractor==== | ||
+ | * Configuration of testing provider options | ||
+ | |||
+ | [[image:Nb81-protractor-01.png]] |
Revision as of 20:50, 8 January 2015
Contents |
JavaScript Frameworks
KnockoutJS
Added support for Knockout 3.2.0.
- New bindings in code completion for data-bind
- component
- textInput
- Updated model for code completion
- Includes e.g., pureComputed observables
- Support for Knockout custom components
Code completion for Knockout custom components
Custom HTML elements registered in Knockout JavaScript file using ko.components.register function
Code completion for component binding
Code completion for custom component's parameters
Go to Declaration
Supports multiple source locations (e.g., component is registered in debug and minified JS files, both are present in the project)
AngularJS
Added support for Angular 1.2 and 1.3
Editor support and CC improvements
- "Controller As"
- One-time binding expressions
- Tracking expressions "track by" and Alias expressions "as" in ng-repeat
- ModelOptions directive
Editor
JavaScript Editor
Code Completion
If the code completion is called inside the string of parameter in method of document.getElementsById(), then it is able to offer all used values of ids attributes in the html and css files in the project.
Similarly the code completion offers CSS classes defined in css file inside the string of parameter in method document.getElementsByClassName().
JSON Editor
Code Folding
The code folding of the JSON editor was improved. It's possible to fold arrays of objects.
Also there are new options for folding editor in the Options dialog.
Web Application Inspection
Shadow DOM Support
- Shadow DOM nodes are shown in Browser DOM view
- Elements of shadow DOM can be selected/inspected in Chrome browser
- Styling information for shadow DOM nodes is shown in CSS Styles view
DOM Breakpoints
DOM breakpoints are visualized in Browser DOM view (elements with a breakpoint are marked by a breakpoint badge).
JavaScript Debugging
Conditional Breakpoints
It is possible to specify condition on a JavaScript breakpoint. The breakpoint is hit when the condition evaluates to true.
Node.js Support
Support for Node.js has been added. This includes:
- Configuration of the Node.js executable
- New project wizard
- Project problems detection
- Running JS files via Node.js
- Project specific configuration of Node.js
- Configuration of start file
- Node.js project can have Site Root (its own frontend part)
- In this case, browser can be opened on project run
- Synchronization of changes between project and its package.json (project name, start file)
- Libraries node in the Projects view
- Running any npm script
Node.js Editor
- Control - hover functionality
When you place the mouse cursor over an runtime module name in require method and press CTRL / Command, then the documentation for the module is displayed.
Gulp Support
Support for Gulp has been added, it works exactly the same way as the existing Grunt support. This includes:
- Configuration of the Gulp executable
- gulpfile is shown among Important Files
- Gulp tasks can be assigned to common IDE actions in the Project Properties dialog
- Any Gulp task can be run via project's context menu
- Gulp output can be reviewed in the Output window
Java EE
Remote WebLogic
Support for development on remote WebLogic instances.
Testing
Unit Testing
HTML5/Javascript Node.js Application
Mocha
Support for Mocha has been added. This includes:
- Configuration of the mocha executable and options
- Integration with Test Results window
Integration Testing
Support for Selenium 2.0 has been added. This includes:
Selenium Standalone Server
- Server registered under Services tab
- Configuration options
Maven Java Application, Web application, EJB Module, Enterprise Application Client
- Wizard to create selenium test file
- Integration with Tools -> Create/Update Tests menu action for Selenium
- Run all selenium project's tests
- Integration with Test Results window
PHP Application
- Configuration of the selenium tests folder location
- Wizard to create selenium test file
- Integration with Tools -> Create/Update Tests menu action for PHPUnit and Selenium
- Run all selenium project's tests
- Integration with Test Results window
HTML5/Javascript Node.js Application
- Configuration of the selenium tests folder location
- Run all selenium project's tests
- Run/debug specific selenium test
- Integration with Test Results window
- Wizards to create selenium related files
Mocha
- Configuration of testing provider options
Protractor
- Configuration of testing provider options