Skip to content

Release Notes

OliverShen edited this page Jan 25, 2024 · 28 revisions

Hydra Lab

Gradle Plugin

  • 1.1.15:
    • Added a new running type "APK_SCANNER";
    • Added a required param analysisConfigs for running type "APK_SCANNER" in the yaml config file (see more in template testSpec.yml);
    • Added a required param analysisConfigsStr for running type "APK_SCANNER" as command/gradle.properties input (see more in template gradle.properties);
  • 1.1.14:
    • Add optional param "enableTestOrchestrator";
  • 1.1.11:
    • Add optional params "enableNetworkTest", "networkTestRule" for network test, "notifyUrl" as for notification service;
  • 1.1.10:
    • Add optional param "skipInstall" as the flag for whether app installation can be skipped;
  • 1.1.7:
    • Add optional param "enableFailingTask" as flag to enable/disable failing the task by throwing exception when there exists failed test cases (other than the failure from gradle task itself);
  • 1.1.5
    • Fix log typo which may lead to misunderstanding of input params.
  • 1.1.4
    • Remove support of Azure DevOps log command for adding build tags, as it's of no use now.
  • 1.1.2
    • Support performance test;
      • Added optional param inspectionStrategies in the yaml config file (see more in template testSpec.yml);
      • Added optional param inspectionStrategiesStr as command/gradle.properties input (see more in template gradle.properties);
  • 1.1.1
    • Fixed validation check of optional file params;
  • 1.1.0
    • Added optional param ymlConfigFile, params can now be configured through custom YAML file (see more in latest README and template testSpec.yml);
    • Added optional param type(or triggerType), which was set in extraArgs before;
    • Removed optional param extraArgs as it's equivalent to use param type directly;
    • Notice: some params will be deprecated in later updates.
      • YAML config supports only the new param names, and old param names work in configs from inline command or gradle.properties.
        • If you want to migrate the original command/gradle.properties config to YAML config, names need to be updated.
      • Current equivalent names are as below (mapping from old to new):
        • instrumentationArgs -> testRunArgs [Upgrade required for Hydra Lab [email protected] in 2/16/2023]
        • type -> triggerType
        • tag -> artifactTag
        • deviceTestCount -> testRound
  • [STABLE] 1.0.45
    • Fixed NPE issue occurred in 1.0.43;
  • 1.0.43
    • Added optional params neededPermissions and deviceActions;
  • 1.0.41
    • Added retry logic for conditions of HTTP code not being 200;
    • Added API of canceling tasks;
  • 1.0.37
    • [Config changed] Changed parameter "testAppPath" of T2C_JSON from required to optional;
    • Updated logic of setting default value of testScope and testSuiteName;
      • When both testScope and testSuiteName are empty, let testScope be "TEST_APP" and remove required check for testSuiteName;
  • 1.0.36
    • [Config changed] Added optional parameter "testScope" for scope specification of INSTRUMENTATION test.
  • 1.0.34
    • Removed useless dependencies;
  • 1.0.33
    • [Config changed] Added optional parameter "tag" for test report folder naming;
  • 1.0.32
    • Modified report file structure and add testLabSummary.md back;
  • 1.0.31
    • [Upgrade required for Hydra Lab [email protected]_150246] Added an API for requesting shared access signatures for Azure Blob resources;
  • 1.0.30
    • Fixed testSummary directory not existing issue;
  • 1.0.29
    • Changed default attachment uploading contentType to "application/octet-stream";
    • Added NPE check for attachment parameters loadType and loadDir;
  • 1.0.28
    • Fixed Gradle plugin issue that JVM version isn't compatible, by making groovy grammar compatible for Java 8;
  • 1.0.27
    • [Config changed] Added optional parameter "testRunnerName" for test of type INSTRUMENTATION, default value is "androidx.test.runner.AndroidJUnitRunner".
    • [Config changed] Removed parameter "reportAudience".
    • [Test result path changed] Updated test result path prefix to "${buildDir}/testResult";
  • 1.0.26
    • Parameter "teamName" no longer has default value, default value will be set in Backend using requestor's default team name when requestor is under any team.
  • 1.0.25 - See more in latest template: gradle.properties.
    • [Config changed] Added required parameter "teamName" for test of all types, default value is "Default".

    • [Config changed] "appApkPath" renamed to "appPath", "testApkPath" renamed to "testAppPath".

    • [Config changed] Added required parameter "attachmentConfigPath" for uploading attachments of tests of all types, value should be the path to a JSON config file, JSON file schema:

      image

    • Code changed to be compatible for Hydra Lab APIs.

  • 1.0.24
    • Supporting test type APPIUM_MONKEY and T2C_JSON.
  • 1.0.23
    • Substituted check-center-version API with check-center-alive API, in order to exclude extra useless info.
  • 1.0.22
    • Added param output log for type APPIUM_CROSS.
    • Added uniform param uploading process for all test types.
  • 1.0.21
    • Added uniform test apk file path extraction for all test types.
  • 1.0.20
    • [Config added] Added no-required params "needUninstall" and "needClearData" for test of APPIUM_CROSS type, both default values are true.
  • 1.0.19
    • [Output path changed] Updated attachment output artifact folder name, to distinguish different test results when using the same device
  • 1.0.18
    • Removed the feature of canceling task when Hydra Lab task run time reaches timeout (will still cancel the task when queue time reaches timeout).
  • 1.0.17
    • Normalized throwable exception message.
  • 1.0.16
    • Added time to printed logs.
  • 1.0.15
    • [Config changed] Set parameter "queueTimeOutSeconds" and "runTimeOutSeconds" separately, instead of the original "timeOutSeconds".
  • 1.0.14
    • Added center alive checking
    • Added feature that wait timeout will fail the gradle task
    • Added feature that timeout will trigger operation of cancelling task

Azure Extension

Clone this wiki locally