github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/documentation/docs/steps/karmaExecuteTests.md (about)

     1  # ${docGenStepName}
     2  
     3  Please note that Karma is [marked as **DEPRECATED**](https://github.com/karma-runner/karma#karma-is-deprecated-and-is-not-accepting-new-features-or-general-bug-fixes) as of 04/2023. There is no migration path defined yet.
     4  
     5  ## ${docGenDescription}
     6  
     7  ## Prerequisites
     8  
     9  * **running Karma tests** - have a NPM module with running tests executed with Karma
    10  * **configured WebDriver** - have the [`karma-webdriver-launcher`](https://github.com/karma-runner/karma-webdriver-launcher) package installed and a custom, WebDriver-based browser configured in Karma
    11  
    12  ## ${docJenkinsPluginDependencies}
    13  
    14  ## ${docGenParameters}
    15  
    16  ## ${docGenConfiguration}
    17  
    18  ## Side effects
    19  
    20  Step uses `seleniumExecuteTest` & `dockerExecute` inside.
    21  
    22  ## Exceptions
    23  
    24  none
    25  
    26  ## Example
    27  
    28  ```groovy
    29  karmaExecuteTests script: this, modules: ['./shoppinglist', './catalog']
    30  ```