Skip to content

Conversation

@rhisav-25
Copy link
Contributor

@rhisav-25 rhisav-25 commented Mar 26, 2025

JIRA :- https://browserstack.atlassian.net/browse/AAP-15642
Added build.gradle and settings.gradle for gradle config
Updated Readme and workflow for steps to run tests using gradle.

@rhisav-25 rhisav-25 requested a review from a team as a code owner March 26, 2025 15:04
run: |
cd junit-5/ios
gradle clean sampleTest
- name: Run gradle sample-local-test for junit4 ios
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Run gradle sample-local-test for junit4 ios
- name: Run gradle sample-local-test for junit5 ios

README.md Outdated
- If Maven is not downloaded, download it from [here](https://maven.apache.org/download.cgi)
- For installation, follow the instructions [here](https://maven.apache.org/install.html)

3. Gradle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maven and gradle should be downloaded alternatively right and presence of both is not required. Can we update th readme accordingly.

README.md Outdated
- Junit5
- Update `browserstack.yml` file at root level of [Android Junit5 examples](junit-5/android) or [iOS Junit5 examples](junit-5/ios) with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
- Run `mvn test -P sample-test`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inconsistency in instruction here

include 'com/browserstack/LocalTest*'

jvmArgs "-javaagent:${configurations.testRuntimeClasspath.find { it.name.contains('browserstack-java-sdk') }}"
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need empty line here

}
}
}
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty line

include 'com/browserstack/LocalTest*'

jvmArgs "-javaagent:${configurations.testRuntimeClasspath.find { it.name.contains('browserstack-java-sdk') }}"
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line

}
}
}
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line

@rajpatta rajpatta merged commit bd9ea11 into browserstack:master Apr 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants