"How to specify tests" parameter may be overriden by entering a QuickSetMode in the configuration

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • TBD_Major
    • Affects Version/s: None
    • Component/s: tools
    • x86
    • windows_xp

      Javatest Harness 4.1.3_b04 (reproducible on earlier versions as well)

      1. Start the tool. Open an sample TestSuite. Open or create Working Directory.
      2. Create a list of tests on disk: click on the root of the testsuite, select an tab with list of tests (not run, passed, failed - any of them), select several test names, right click/copy/names as multiple lines, open Notepad, paste, save file on the disk.
      3. Open ConfigurationEditor in normal mode (Configure/Edit Configuration).
      4. Set "Specify Tests to Run?" = "Yes", "How to specify tests?" = "From a List in a File", "Specify Test List" = "<file with list of tests>".
      5. Submit Configuration editor. Switch View Filter to "Current COnfiguration" to make sure tests from external file are highlihgted as "active".
      6. Now open configuration editor in QuickSet mode: Configure/Edit Quick Set/Keywords.
      7. Don't change anything, just click Done to submit.
      8. Open ConfigurationEditor in normal mode (Configure/Edit Configuration) again. Check value of the question "How to specify tests?" - its "Directly" now!

      This is a bug - just by entering a QuickSet mode you'll override "How to specify tests" value. This may be very bad in following scenario:

      - user maintains a listof tests he'd like to run in an external file.
      - he created a configuration and set this external file as a tests source
      - he ran a session. then (by accident) he opens a QuickSet mode - and silently, his configuration loses a connection with "live" file.
      - he closes Harness. Edits file to add/remove tests.
      - runs harness again, run a test session - but his changes in list of tests are not effective.

            Assignee:
            Dmitry Bessonov
            Reporter:
            Konstantin Romanovskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: