Skip to content

Commit

Permalink
adding print statements to check the test flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sharath2106 committed Oct 14, 2020
1 parent 2b7799e commit ff35cd5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<artifactId>ProjectEKA-tets</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<java.version>11</java.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<testng.version>6.9.8</testng.version>
Expand Down Expand Up @@ -122,6 +123,9 @@
</execution>
</executions>
<configuration>
<includes>
<include>src/**/java/**/**/*.java</include>
</includes>
<linkXRef>true</linkXRef>
<rulesets>
<ruleset>${pmd-ruleset-path}</ruleset>
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/tests/mobiletests/utils/RunnerFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ public class RunnerFactory {
public static IRunner runner;

public void instantiateRunner(AppiumDriver driver) {
System.out.println("ENVIRONMENT ---> " + System.getenv("env"));
System.out.println("DRIVER ---> " + driver.getClass().getName());
String env = System.getenv("env");
switch (env) {
case "ncg":
Expand Down

0 comments on commit ff35cd5

Please sign in to comment.