I was seeing the same thing, I am using JUnit4. I fixed that by doing: TestSuite suite = new TestSuite(); suite.addTestSuite(MemcacheTest.class); return new JUnitTestRun(suite);
On Jun 12, 11:57 pm, "Max Ross (Google)" <maxr+appeng...@google.com> wrote: > This most likely means that your tests aren't available as part of your > application. Are you certain you uploaded them? > > On Fri, Jun 11, 2010 at 11:31 PM, Art <art...@gmail.com> wrote: > > Dear group, > > > I would like to know how to make CloudCover (http://code.google.com/p/ > > cloudcover/) work. > > > At cloudcover.html, even I clicked on the "Start New Run" button, the > > (default) test won't be executed. > > The cloudcover.html showed like: > > Run 1001: NOT_STARTED, Completed 0/0 (0%) > > Passed: 0 Too Slow: 0 Failed: 0 In Progress: 0 Not Started: 0 > > com.google.appengine.testing.cloudcover.harness.junit3.JUnit3TestHarness > > (0) > > > I found the following logs in the GAE/J logs: > > W 06-11 10:45PM 49.387 > > com.google.appengine.testing.cloudcover.harness.junitx.JUnitTestRun > > getTestIds: 1001: Cannot schedule instance of class > > com.appspot.waversbeach.server.MemcacheTest for execution because its > > String represenation, > > testInsert1(com.appspot.waversbeach.server.MemcacheTest), is not an > > available class. > > > W 06-11 10:45PM 49.395 > > com.google.appengine.testing.cloudcover.harness.junitx.JUnitTestRun > > getTestIds: 1001: Cannot schedule instance of class > > com.appspot.waversbeach.server.MemcacheTest for execution because its > > String represenation, > > testInsert2(com.appspot.waversbeach.server.MemcacheTest), is not an > > available class. > > > MemcacheTest class is a really simple test class just for the trial > > purpose with CloudCover: > > public class MemcacheTest extends TestCase { > > public MemcacheTest( String name) { > > super( name); > > } > > > protected static Cache cache = null; > > > �...@override > > protected void setUp() throws Exception { > > if ( cache == null) { > > CacheFactory cacheFactory = > > CacheManager.getInstance().getCacheFactory(); > > cache = cacheFactory.createCache( > > Collections.emptyMap()); > > } > > } > > > �...@override > > protected void tearDown() throws Exception { > > cache.clear(); > > } > > > private void doTest() { > > assertFalse( cache.containsKey( "yar")); > > cache.put( "yar", "foo"); > > assertTrue( cache.containsKey( "yar")); > > } > > > public void testInsert1() { > > doTest(); > > } > > > public void testInsert2() { > > doTest(); > > } > > > } > > > My JUnit3Config class is like: > > public class CloudCoverRunnerConfig extends JUnit3Config { > > > �...@override > > public TestRun newTestRun( String arg0) { > > TestSuite suite = new TestSuite(); > > suite.addTest( new MemcacheTest( "testInsert1")); > > suite.addTest( new MemcacheTest( "testInsert2")); > > return new JUnit3TestRun( suite); > > } > > } > > > I'm thinking of giving the CloudCover a shot for Wave robot testing if > > it's possible, since I have read in one of Wave docs that there is no > > existing mechanism currently to test Wave robot on local machine. > > > Thank you > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.