This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
sonarqube: | |
image: sonarqube:6.7.1 | |
expose: | |
- 9000 | |
ports: | |
- "127.0.0.1:9000:9000" | |
networks: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Add mentioned code in pom.xml file --> | |
<dependency> | |
<groupId>io.qameta.allure</groupId> | |
<artifactId>allure-testng</artifactId> | |
<version>2.13.0</version> | |
</dependency> | |
<build> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<b>Problem</b>: There is a project that accepts multiple parameters value for running the tests. | |
<b>Ex mvn test -Dbrowser=chrome -Denv=staging -Dgroups=sanity</b> | |
If we need to debug tests accepting the mentioned parameters; then directly clicking on debug option wont help. | |
<b>Steps to follow</b> | |
1. Take clone of the repo for which debugging needs to be done & open the same on IntelliJ IDE. | |
2. Modify the xml file that includes only those testcases that needs to be debugged. | |
3. Setup environment variables that are fetched via System.getenv() (if used in codebase) |