Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-19248

Extend Regression Test Engine List command to generate list of test cases without execute or generate a fully parameterised ECL tool command line for all of them.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: Regression Test Engine
    • Labels:
      None

      Description

      This feature helps to implement a fully automated generation of individual test case coverage information.

      The current function of List command to enumerate Clusters is remained as default.

      Introduce --setup, --run, --query parameters enable to generate same test case set as the Setup/Run/Query command does with class(es) inclusion/exclusion, versioning and wild char processing.

      Setup test cases:
      Cluster: thor
      roxie_echo.ecl
      roxie_keepwhitespace.ecl
      setup.ecl
      setup_fetch.ecl
      setupdict.ecl
      setuppersist.ecl
      setupsearchindex.ecl
      setupsq.ecl
      setupwordindex.ecl
      setupxml.ecl
      soapbase.ecl

       With extra --createEclRunArg parameter it generates whole ECL tool command line for each test cases like:

      ./ecl-test list --run -t hthor --createEclRunArg -r spray
      
      Run test cases:
      Cluster: hthor
      ecl run -fpickBestEngine=false --target=hthor --cluster=hthor --port=8010 --exception-level=warning --noroot --name="despray" -ffailOnLeaks  -XOriginalTextFilesIp=192.168.3.16 -XOriginalTextFilesEclPath=home::ati::^My^Python::^Regression^Suite::download -XOriginalTextFilesOsPath=/home/ati/MyPython/RegressionSuite --server=127.0.0.1 --username=TheAdmin --password=P@ssw0rd --port=8010   despray.ecl
      
      ecl run -fpickBestEngine=false --target=hthor --cluster=hthor --port=8010 --exception-level=warning --noroot --name="spray_expire_test" -ffailOnLeaks  -XOriginalTextFilesIp=192.168.3.16 -XOriginalTextFilesEclPath=home::ati::^My^Python::^Regression^Suite::download -XOriginalTextFilesOsPath=/home/ati/MyPython/RegressionSuite --server=127.0.0.1 --username=TheAdmin --password=P@ssw0rd --port=8010   spray_expire_test.ecl
      
      ecl run -fpickBestEngine=false --target=hthor --cluster=hthor --port=8010 --exception-level=warning --noroot --name="spray_header_test-isTerminated(false)" -ffailOnLeaks -DisTerminated=false -XOriginalTextFilesIp=192.168.3.16 -XOriginalTextFilesEclPath=home::ati::^My^Python::^Regression^Suite::download -XOriginalTextFilesOsPath=/home/ati/MyPython/RegressionSuite --server=127.0.0.1 --username=TheAdmin --password=P@ssw0rd --port=8010   spray_header_test.ecl
      
      ecl run -fpickBestEngine=false --target=hthor --cluster=hthor --port=8010 --exception-level=warning --noroot --name="spray_header_test-isTerminated(true)" -ffailOnLeaks -DisTerminated=true -XOriginalTextFilesIp=192.168.3.16 -XOriginalTextFilesEclPath=home::ati::^My^Python::^Regression^Suite::download -XOriginalTextFilesOsPath=/home/ati/MyPython/RegressionSuite --server=127.0.0.1 --username=TheAdmin --password=P@ssw0rd --port=8010   spray_header_test.ecl
      
      ecl run -fpickBestEngine=false --target=hthor --cluster=hthor --port=8010 --exception-level=warning --noroot --name="spray_test-sprayFixed(true)" -ffailOnLeaks -DsprayFixed=true -XOriginalTextFilesIp=192.168.3.16 -XOriginalTextFilesEclPath=home::ati::^My^Python::^Regression^Suite::download -XOriginalTextFilesOsPath=/home/ati/MyPython/RegressionSuite --server=127.0.0.1 --username=TheAdmin --password=P@ssw0rd --port=8010   spray_test.ecl 
      
      ecl run -fpickBestEngine=false --target=hthor --cluster=hthor --port=8010 --exception-level=warning --noroot --name="spray_test-sprayFixed(false)-sprayEmpty(false)" -ffailOnLeaks -DsprayFixed=false -DsprayEmpty=false -XOriginalTextFilesIp=192.168.3.16 -XOriginalTextFilesEclPath=home::ati::^My^Python::^Regression^Suite::download -XOriginalTextFilesOsPath=/home/ati/MyPython/RegressionSuite --server=127.0.0.1 --username=TheAdmin --password=P@ssw0rd --port=8010   spray_test.ecl
      
      ecl run -fpickBestEngine=false --target=hthor --cluster=hthor --port=8010 --exception-level=warning --noroot --name="spray_test-sprayFixed(false)-sprayEmpty(true)" -ffailOnLeaks -DsprayFixed=false -DsprayEmpty=true -XOriginalTextFilesIp=192.168.3.16 -XOriginalTextFilesEclPath=home::ati::^My^Python::^Regression^Suite::download -XOriginalTextFilesOsPath=/home/ati/MyPython/RegressionSuite --server=127.0.0.1 --username=TheAdmin --password=P@ssw0rd --port=8010   spray_test.ecl
      
      

       

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              attilavamos Attila Vamos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: