Ok i figured it out -- I was creating my test classes in src Folder, I know its childish mistake ... sorry for that. When i refactored it and moved it to test folder all is ok. (I'm using Netbeans and when you are using high automation it can speed up everything <br/>, but it can also turn off your "think before act" habit frequently .... :/ ) <br/>
nevermind_and wrote: > > I'm doing tutorial http://appfuse.org/display/APF/Using+Hibernate and > when i compile and try to > mvn test -Dtest=PersonDaoTest i got from console EROR ----- > <br /> > There are no test to run <br /> > <br /> > I've read about two files in diff' folders hibernate.cfg.xml but in two > cases: adding in both appropriate mappings or deleting that one from > test/resources gives me the same result. (no tests) > Classes for testing were compiled (I've done mvn clean before ). It's > really annoying, in everyone else's > case it was done by correcting hibernate.cfg.xml . I have some bad > feelings that it might be wrong because im doing not right use with maven. > When i've write classes from tutorial i type: <br /> > <br /> > 1. mvn clean <br /> > 2. mvn <br /> > 3.Changing hibernate.cfg.xml <br /> > 4. mvn test -Dtest=PersonDaoTest 5 ... There are no test to run (error) > <br /> > <br /> > What am i doing wrong ?. I really will be gladful for help .<br /> > > > > -- View this message in context: http://www.nabble.com/Hibernate-%2B-JSF-Basic-test-problem-tp22759420s2369p22763729.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net