https://github.com/katalon-studio/katalon-gradle-plugin
Katalon Studio Gradle plugin
https://github.com/katalon-studio/katalon-gradle-plugin
critical gradle-plugin java katalon-studio
Last synced: 2 months ago
JSON representation
Katalon Studio Gradle plugin
- Host: GitHub
- URL: https://github.com/katalon-studio/katalon-gradle-plugin
- Owner: katalon-studio
- License: other
- Created: 2018-09-25T03:10:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T07:39:30.000Z (over 1 year ago)
- Last Synced: 2025-03-24T11:21:27.214Z (7 months ago)
- Topics: critical, gradle-plugin, java, katalon-studio
- Language: Java
- Homepage:
- Size: 84 KB
- Stars: 10
- Watchers: 7
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Katalon Studio's Gradle Plugin
This Gradle plugin helps simplify/automate some tasks in Katalon Studio. It is published at https://plugins.gradle.org/plugin/com.katalon.gradle-plugin.
## How to build and test
* **Build**
Run `gradle build`
* **Test**
Suggestion plugin: [katalon-studio-zip-keywords-plugin](https://github.com/katalon-studio/katalon-studio-zip-keywords-plugin)
Remove line `'com.katalon.gradle-plugin' version ''`
Adding this script to the build.gradle file in the tested plugin.
```
buildscript{
dependencies{
classpath files('/katalon-gradle-plugin-.jar')
}
}
.....
apply plugin: com.katalon.gradle.plugin.KatalonGradlePlugin
```
## Gradle Tasks
* `katalonCopyDependencies`
* `katalonListTestCases`
* `katalonListTestSuites`
## Sample
Please see https://github.com/katalon-studio-samples/framework-integration.
## Tutorial: Automatically download dependencies for Katalon Studio projects
### Install Gradle
Please follow this [guide](https://gradle.org/install/) to install Gradle on your machine.
### Add `build.gradle` file
Add a `build.gradle` file inside Katalon Studio project contains the below code. Dependencies can be changed or modified based on your libraries prerferences.
```gradle
plugins {
id 'java-library'
id "com.katalon.gradle-plugin" version "0.1.2"
}
repositories {
mavenCentral()
}
dependencies {
// sample dependencies
// rest-assured
implementation 'io.rest-assured:rest-assured:3.2.0'
// JsonPath
implementation 'io.rest-assured:json-path:3.2.0'
// XmlPath
implementation 'io.rest-assured:json-path:3.2.0'
// JSON Schema Validation
implementation 'io.rest-assured:json-schema-validator:3.2.0'
}
```
### Download the dependencies
> **Due to the way Java loading libraries, please close all Katalon Studio applications before execute the following command, and re-open it after the command has been completed.**
```
gradle katalonCopyDependencies
```
## License
Copyright (c) Katalon LLC. All rights reserved.
Licensed under the LICENSE AGREEMENT FOR KATALON AUTOMATION FRAMEWORK.
## Companion products
### Katalon TestOps
[Katalon TestOps](https://analytics.katalon.com) is a web-based application that provides dynamic perspectives and an insightful look at your automation testing data. You can leverage your automation testing data by transforming and visualizing your data; analyzing test results; seamlessly integrating with such tools as Katalon Studio and Jira; maximizing the testing capacity with remote execution.
* Read our [documentation](https://docs.katalon.com/katalon-analytics/docs/overview.html).
* Ask a question on [Forum](https://forum.katalon.com/categories/katalon-analytics).
* Request a new feature on [GitHub](CONTRIBUTING.md).
* Vote for [Popular Feature Requests](https://github.com/katalon-analytics/katalon-analytics/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc).
* File a bug in [GitHub Issues](https://github.com/katalon-analytics/katalon-analytics/issues).
### Katalon Studio
[Katalon Studio](https://www.katalon.com) is a free and complete automation testing solution for Web, Mobile, and API testing with modern methodologies (Data-Driven Testing, TDD/BDD, Page Object Model, etc.) as well as advanced integration (JIRA, qTest, Slack, CI, Katalon TestOps, etc.). Learn more about [Katalon Studio features](https://www.katalon.com/features/).