June 2018
Beginner to intermediate
376 pages
8h 58m
English
We currently have a test that works fine in IntelliJ, but we haven't put any configuration in our POM file yet to enable us to run this test through Maven. Let's create a Maven profile that will allow us to do that. First of all, we need to add a property to define our maven-failsafe-plugin version:
<maven-failsafe-plugin.version>2.21.0</maven-failsafe-plugin.version>
Then we need to add a new profile:
<profiles> <profile> <id>appiumAlreadyRunning</id> <activation> <property> <name>!invokeAppium</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-failsafe-plugin.version}</version> <configuration> ...
Read now
Unlock full access