TS 60 Bat

Bat file Test Specification for NetBeans 6.0

Authors: Radim Roska
Version: 1.0
Last update: 3th July 2007
Introduction: This is test specification of batch scripting language support in NetBeans IDE. Netbeans provides basic support : syntax highlighting and code formatting


Documentation:

Contents


Test suite: Ide support

Purpose: This test suite checks that bat files are correctly configurable in IDE options and its possible to open,create bat files.
Setup: C/C++ plugin activated.

  1. Checking options for bat files
    1. Invoke Tools | Options....
    2. Select Editor , then Code Templates tab and ensure there is Bat file in language combobox
    3. Select Fonts&Colors , then Syntax tab and select there is Bat file category in language combobox
    4. There are categories like identifier, keyword...by selecting these categories correct element in preview should be marked
    • EXPECTED RESULT: all options exists and are correctly configurable
  1. New batch script file
    1. Invoke File | New File... from main menu.
    2. Select Empty file project from Other category and press Next
    3. name file with .bat extension, e.g. newfile.bat, finish
    • EXPECTED RESULT: new empty file is opened with proper icon in tab


Test suite: Syntax highlighting support

Purpose: This test suite checks that syntax highlighting works correctly.
Setup: C/C++ plugin activated.

  1. Syntax highlighting
    1. Copy whole content of this document into file created in 1st test suite.
    2. Compare the syntax highlighting of file with this picture.
    • EXPECTED RESULT: all syntax elements has to be highlighted correctly


Test suite: Code formatting

Purpose: This test suite checks that code formatting works correctly
Setup: C/C++ plugin activated.

  1. Code indentation
    1. Place cursor to the end of some line and press Enter
    • EXPECTED RESULT: cursor at new line is intended as line before


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