An open API service indexing awesome lists of open source software.

https://github.com/ndviet/test-robot-framework

Test repository with test case is created and executed in Robot Framework
https://github.com/ndviet/test-robot-framework

java maven robotframework test-automation

Last synced: 6 months ago
JSON representation

Test repository with test case is created and executed in Robot Framework

Awesome Lists containing this project

README

          

[![Run Test](https://github.com/ndviet/test-robot-framework/actions/workflows/robotframework-maven.yml/badge.svg)](https://github.com/ndviet/test-robot-framework/actions/workflows/robotframework-maven.yml)

## Introduction

Test repository with test case is created and executed in Robot Framework.

## List dependency repositories

1. [test-parent-pom](../../../test-parent-pom)
2. [test-automation-fwk](../../../test-automation-fwk)
3. [test-java2robot-adapter](../../../test-java2robot-adapter)

## Source code usage

1. Clone repository "test-parent-pom" (**mandatory**)

```shell
git clone git@github.com:ndviet/test-parent-pom.git
```

2. Clone this test repository to the same directory

```shell
git clone git@github.com:ndviet/test-robot-framework.git
```

3. Build source code in each repository following the order

- test-parent-pom
- test-robot-framework

4. Run test cases in test repository

```shell
cd test-robot-framework
```

```shell
mvn initialize robotframework:run -Dincludes=EasyUpload -Dselenium.browser.type=chrome
```

Noted:

* **[includes]** property is used to provide Robot Test Tags would be executed.
* List of configuration can be input from CLI can be referred to [pom.xml](./pom.xml) or layered configuration
files in [src/test/resources/configuration](src/test/resources/configuration)

## Reference

A sample project with entire repositories together for the test execution.

* [test-automation-project](../../../test-automation-project)