Java Test Utils

Java Test Utils library

Лицензия

Лицензия

Группа

Группа

com.sdeting.utils
Идентификатор

Идентификатор

test-utils
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Java Test Utils
Java Test Utils library
Ссылка на сайт

Ссылка на сайт

https://github.com/eajazali87/test-utils
Система контроля версий

Система контроля версий

https://github.com/eajazali87/test-utils

Скачать test-utils

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.sdeting.utils/test-utils/ -->
<dependency>
    <groupId>com.sdeting.utils</groupId>
    <artifactId>test-utils</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.sdeting.utils/test-utils/
implementation 'com.sdeting.utils:test-utils:1.0.2'
// https://jarcasting.com/artifacts/com.sdeting.utils/test-utils/
implementation ("com.sdeting.utils:test-utils:1.0.2")
'com.sdeting.utils:test-utils:jar:1.0.2'
<dependency org="com.sdeting.utils" name="test-utils" rev="1.0.2">
  <artifact name="test-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.sdeting.utils', module='test-utils', version='1.0.2')
)
libraryDependencies += "com.sdeting.utils" % "test-utils" % "1.0.2"
[com.sdeting.utils/test-utils "1.0.2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.testng : testng jar 6.14.3

Модули Проекта

Данный проект не имеет модулей.

Useful Test-Utils

This repo has some useful utilities that will help engineers especially SDETs to fulfil few operations.

Utilities:

removeConfigNodesFromTestNgResultsXML:

There are n number of config nodes like @BeforeMethod, @AfterMethod etc in a testng-results.xml file. A real time usefulness of this utility is, ALM treats every config node as a test case, so it is better to remove these config nodes before you upload the testng-results.xml to ALM. This will give accurate result of how many test cases failed and passed.

Usage:

TestUtils.removeConfigNodesFromTestNgResultsXML("path_to_your_input_testng-results.xml_file");

downloadZip:

This method will help to download a zip file from a remote location.

Usage:

TestUtils.downloadZip("remoteZipLocation","location_to_download/file.zip",1024);

unZipFolder:

This method will help to unzip a folder and extract all its contents

Usage:

TestUtils.unZipFolder("path to the zip folder");

My site:

https://sdeting.com/

Версии библиотеки

Версия
1.0.2
1.0.1