Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Added stepsin README.md to run tests in local. #668

Merged
merged 1 commit into from
Feb 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,24 @@ The project uses [Gradle](https://gradle.org) as a build tool. It already contai

To build the project execute the following command:

###Copy Paste the link in browser for detailed steps to run following tests in local-https://tools.hmcts.net/confluence/display/HMI/HMI+QA+Functional+Testing

```bash
./gradlew build
```
### Running the Unit Tests
### Add application-test.docx file under Test Resources for Unit Testing in local.

Change Directory to the root folder of the Project:

Run the following command

```bash
gradle clean Unit -DENDPOINT_URL='{url}' -DENDPOINT_HOST='{hostname}' -DENDPOINT_SUBSCRIPTION_KEY={subscriptonKey} -DAPI_LOG_LEVEL=OFF

### Running the Functional Tests
### Add application-functional.docx file under functional Resources for Unit Testing in local.


Change Directory to the root folder of the Project:

Expand All @@ -119,6 +132,8 @@ Run the following command
```

### Running the Smoke Tests
### Add application-smoke.docx file under smoke Resources for Unit Testing in local.


Change Directory to the root folder of the Project:

Expand All @@ -138,6 +153,8 @@ Run the following command
gradle clean integration -DENDPOINT_URL='{url}' -DENDPOINT_SUBSCRIPTION_KEY={subscriptonKey}
```
### Running the Acceptance Tests
### Add application-acceptance.docx file under acceptance Resources for Unit Testing in local.


Change Directory to the root folder of the Project:

Expand Down