Re: [junitee-user] How to use JUnit4 frameworks on JUnitEE
Brought to you by:
o_rossmueller
|
From: TS <10t...@gm...> - 2008-06-06 13:46:09
|
Thnaks Wade, > the answer to #1 is no, but that is junit's fault for changing all their > package names in version 4. This means JUNITEE can't recognize its test cases written in JUNIT4 is not JUNITEE fault itself buy JUNIT fault?? >i don't use maven so i won't be much help on #2. Then, how can I use the latest test version?? The URL you sent to me doesn't explain anything how to setup and use it... 2008/6/6 Wade Taylor <way...@gm...>: > the answer to #1 is no, but that is junit's fault for changing all their > package names in version 4. i don't use maven so i won't be much help on #2. > > > > -w > > > > > On Fri, Jun 6, 2008 at 4:15 AM, TS <10t...@gm...> wrote: >> >> Wade >> >> Thanks for your reply. >> >> However, could you tell me more details?? >> >> 1. Is it possible for "junitee-1.11" to recognize JUNIT4 Test case?? >> If it's possible, then how to do it?? >> >> 2. In case of the latest test release of JUNITEE, >> Is there any guideline for describing how to use it??? >> >> It seems "pom.xml" file in test version doesn't work correctly... >> I got those types of errors during compiling... Is the remote >> repositry location right??? >> >> ===== >> $ mvn compile >> [INFO] Scanning for projects... >> Downloading: >> http://repo1.maven.org/maven2/net/sourceforge/junitee/juniteepom/2.0.0/juniteepom-2.0.0.pom >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] FATAL ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> GroupId: net.sourceforge.junitee >> ArtifactId: juniteepom >> Version: 2.0.0 >> >> Reason: Unable to download the artifact from any repository >> >> net.sourceforge.junitee:juniteepom:pom:2.0.0 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: >> net.sourceforge.junitee:juniteepom for project: net.sourceforge.junite >> e:junite2:jar:2.0.0 for project net.sourceforge.junitee:junite2:jar:2.0.0 >> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot >> find parent: net.sourceforge.junitee:juniteepom for project: >> net.source >> forge.junitee:junite2:jar:2.0.0 for project >> net.sourceforge.junitee:junite2:jar:2.0.0 >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198) >> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583) >> at >> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) >> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) >> ... 11 more >> Caused by: org.apache.maven.project.ProjectBuildingException: POM >> 'net.sourceforge.junitee:juniteepom' not found in repository: Unable >> to do >> wnload the artifact from any repository >> >> net.sourceforge.junitee:juniteepom:pom:2.0.0 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> for project net.sourceforge.junitee:juniteepom >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) >> ... 17 more >> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: >> Unable to download the artifact from any repository >> >> net.sourceforge.junitee:juniteepom:pom:2.0.0 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> >> 2008/6/5 Wade Taylor <way...@gm...>: >> > follow the URL to download the jar... >> > >> > http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/ >> > >> > or if you use maven, then follow the instructions. >> > >> > >> > >> > >> > >> > >> > On Thu, Jun 5, 2008 at 7:24 AM, TS <10t...@gm...> wrote: >> >> >> >> Hello all, >> >> >> >> My name is Takashi. Currently, I'm using junitee-1.11. >> >> It works fine with JUnit3 frameworks, however, when I try to integrate >> >> JUnit4 farameworks, >> >> it doesn't recognize Test Caess.... >> >> >> >> How can I integrate JUnit4 frameworks to JUnitEE?? >> >> >> >> I've already checked this URL, >> >> http://sourceforge.net/forum/forum.php?forum_id=726010 >> >> >> >> However, a lot of information is missing... >> >> I have no idea how to use this test release.... >> >> >> >> Any suggestions are realy appreciated. >> >> >> >> >> >> Takashi >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> Check out the new SourceForge.net Marketplace. >> >> It's the best place to buy or sell services for >> >> just about anything Open Source. >> >> http://sourceforge.net/services/buy/index.php >> >> _______________________________________________ >> >> junitee-user mailing list >> >> jun...@li... >> >> https://lists.sourceforge.net/lists/listinfo/junitee-user >> > >> > >> > >> > ------------------------------------------------------------------------- >> > Check out the new SourceForge.net Marketplace. >> > It's the best place to buy or sell services for >> > just about anything Open Source. >> > http://sourceforge.net/services/buy/index.php >> > _______________________________________________ >> > junitee-user mailing list >> > jun...@li... >> > https://lists.sourceforge.net/lists/listinfo/junitee-user >> > >> > >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> junitee-user mailing list >> jun...@li... >> https://lists.sourceforge.net/lists/listinfo/junitee-user > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > > |