cristeat / testing

0 stars 0 forks source link

Not runnable from cli #4

Open alexcomsa opened 5 years ago

alexcomsa commented 5 years ago

https://github.com/cristeat/testing/blob/9031f04dc6d08d1bbebfce026cebc625a124b7d5/src/test/java/Runner.java#L10 Because you are using maven the test you have written is not executable unless you specifically provide the nameof class to be executed . Please investigate what is the maven convention for tests to be executed

cristeat commented 5 years ago

Updated POM file with maven-surefire-plugin: `

org.apache.maven.plugins
                    <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.22.2</version>
                            <configuration>
                                <includes>
                                    <exclude>**/*Runner.java</exclude>
                                </includes>
                            </configuration>
         </plugin>`