I am trying to figure out how to run Selenium WebDriver tests without using Eclipse or IntelliJ or any other development environment. I do my entire java development using a regular text editor and don't want to install (and learn) an IDE just to compile and run tests.
I tried running the Selenium documentation, but it doesn't stop, actually telling you how to run tests from the command line.
My short experience with maven comes down to the following:
$ mvn compile <snip> No sources to compile $ mvn test <snip> No tests to run $ mvn run <snip> Invalid task 'run'
The only thing I know is mvn jetty:run , but that doesn't seem right, since I don't want to start a new web server.
I suspect that I just need to set the right goals, etc. in my pom.xml, but I donโt know what they should be, and surprisingly canโt find any online.
Can anyone help?
source share