Re: known problem to get JUnit 4 and TestNG working together

2012-02-21 Thread Gogirl
Barrie, Kristian very useful replies. You guys all nailed it. I am the kind of dog that would climb Mt Everest and won't let go of that bone if her life depends on it. So I will hopefully have the wisdom to take your advise. With that said, having worked with Maven for just 5 days, I wouldn't know

known problem to get JUnit 4 and TestNG working together

2012-02-20 Thread Gogirl
In this article; Enda states that it’s a known problem to get JUnit 4 and TestNG working together in a single maven build. http://enda.squarespace.com/testng-junit4-in-maven/ I have testng, junit 3.81 and junit 4.8.1. TestNG is stable. junit 3.81 ran under both dependencies for junit 4.8.1. and 3

On the right track again

2012-02-20 Thread Gogirl
Wayne was right. As I could compile Junit 4.xx manually, I assumed Maven was the problem. Junit 3.xx were usually run by GUI's so it took a while to figure out how to use it to run as a simple cmd line app. Once I got it compiled and running it not only works if i use version 3.8.1 but also if it

Re: Junit ignored by Maven

2012-02-20 Thread Gogirl
Hi Wayne: I am not sure how many are running parallel versions of junit. As mentioned, JUnit has two important distinct versions: JUnit 3, the traditional library and JUnit 4, a complete redesign. I saw Maven run some JUnit 3 examples and not JUnit 4, before it refused to compile and run any. I had

Re: Junit ignored by Maven

2012-02-20 Thread Gogirl
I am sure that the answer to my problem is here somewhere but I can't find it: http://maven.apache.org/plugins/maven-surefire-plugin/examples/junit.html "You can also manually force a specific provider by adding it as a dependency to Surefire itself.. When using this technique there is no check t

Re: Junit ignored by Maven

2012-02-20 Thread Gogirl
The version that compiles does have a legal classname. I was trying to get a more meaningful compile error message than "missing {" and forgot to change the name back when i posted. It's an intriguing point none-the-less about the usefulness of the error messages. I ran 3 more tests. Conclusion a

Re: Junit ignored by Maven

2012-02-19 Thread Gogirl
] test I have removed all other source and test files. The brackets force it to use this version. TestNG needs Junit 3.8.1 but I removed both to just see if I can compile this simple test placed under C:\Users\Gogirl\_MavenProjects\mavenHelloWorld\src\test\java\com\mycompany\app

Junit ignored by Maven

2012-02-19 Thread Gogirl
My goal is to run different versions of Junit Framework work. Surefire supports three different generations of JUnit: JUnit 3.8.x, JUnit 4.x (serial provider) and JUnit 4.7 http:// http://maven.apache.org/plugins/maven-surefire-plugin/examples/junit.html My pom file has the following provider:

Maven fails to run any tests was:TestNG dependency not found

2012-02-18 Thread Gogirl
No tests were executed echo * mvn -Dtest=AppTestNG test GOTO EndComment @echo off echo * echo See maven-in-five-minutes echo Using mc.bat echo SWITCH TO MAVEN PROJECTS DIR: echo C:\Users\GoGirl\_MavenP

My TestNG dependency not found :-(

2012-02-17 Thread Gogirl
I have successfully used the quickstart archetype and proceeded to build and run HelloWorld. As most know, it uses junit and i wish to use TestNG. I believed that it meant that I would simply add the needed dependency as explained here: http://maven.apache.org/plugins/maven-surefire-plugin/example

the simplest Maven Project that can possibly work in Intellij?

2012-02-14 Thread Gogirl
How do I create the simplest Maven Project that can possibly work in Intellij? In Intellij, I created a pom file as a Maven Module: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ht

Is there support for Maven 3 in Intellij--Community version

2012-02-13 Thread Gogirl
I would like to know if i can import Maven 3 projects and run goals in the community version of intellij or do I need to use Maven 2 for this? I would appreciate some advise on the most recommended way to use Maven within Intellij. -- View this message in context: http://maven.40175.n5.nabble.c