1. test posting forum.springsource.org |
2. Tests stopped working w/2.5.5 forum.springsource.orgHi, Getting the following error running our tests after upgrading from 2.5.3 to 2.5.5: Code: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [services.xml]; nested exception is java.lang.IllegalStateException: Annotation-specified ... |
3. Spring testing best practices forum.springsource.orgSo I have this service class and I was wondering what TestCase class should I extend in order to test it. What are the best practices here ? Any simplified tutorial ... |
4. Help testing dynamic commandBeans with EasyMock forum.springsource.orgHelp testing dynamic commandBeans with EasyMock I am having some issues getting easyMock to work as expected with my scenario. I have a command "provision" that sets up easymock and works ... |
5. Classes for embedded test server? forum.springsource.orgClasses for embedded test server? Hi all, I am getting the error java.lang.NoClassDefFoundError: org/apache/directory/server/core/configuration/Configuration Using Maven I download the jars via the POM |
6. TestNG test not rolling back forum.springsource.orgTestNG test not rolling back I have a test as follows: Code: @Test @ContextConfiguration(locations={"/sharedContext.xml"}) public class CustomerDaoTest extends AbstractTransactionalTestNGSpringContextTests { @Autowired private CustomerDao customerDao; @Rollback(true) @Test(groups={"all","dao"}) void testSaveAndLoadCustomer(){ // create customer ... |
7. test forum.springsource.orgYour last query was posted but it broke one of the content rules (I have no idea what that was), so it had to be approved. Just be patient, and you ... |
8. Testing forum.springsource.orgTesting Hi All, I'm working on Spring batch testing. I'm able to test the reader , but m facing some problems while writing test cases for the writer . I have ... |
9. Tests can't be advised when run in SpringJunit4ClassRunner? forum.springsource.orgTests can't be advised when run in SpringJunit4ClassRunner? Hi. I'm trying to add logging output to each of my test cases, using Spring AOP. The test methods themselves aren't receiving advice, ... |
10. how to use test fixtures? forum.springsource.orgHi folks, could anyone give me some pointer on how to implement test fixtures with Spring? Specifically, I'm trying to have some resusable test datas. Can I find the daos.xml used ... |
11. Can't get DI of test fixtures with AbstractTransactionalTestNGSpringContextTests forum.springsource.orgCan't get DI of test fixtures with AbstractTransactionalTestNGSpringContextTests Hi, I can't get DI of a test fixture when extending AbstractTransactionalTestNGSpringContextTests. Here's a code snippet: Code: @TransactionConfiguration(defaultRollback = true) @ContextConfiguration public class ... |
12. How to execute tests with SpringJUnit4ClassRunner forum.springsource.orgHow to execute tests with SpringJUnit4ClassRunner I read the chapter about testing in the manual with interest. What I'm trying to figure out is once I've annotated my tests, etc, how ... |
13. Testing - Using both getTestBundles and getTestBundlesNames in the same test class forum.springsource.orgTesting - Using both getTestBundles and getTestBundlesNames in the same test class I'm trying to perform a test on a bundle, and have tracked down the issue to using both the ... |
14. Testing Spring forum.springsource.org |
15. Problem with building at Test of OsgiServiceAnnotationTest forum.springsource.orgProblem with building at Test of OsgiServiceAnnotationTest Hi, I have problems with the build of spring-osgi-1.1.2. I try to build with: mvn -e -P knopflerfish,it clean install but the build hang ... |
16. test forum.springsource.orgsorry for the empty thread. it think the post i want to make has a URL, and won't let me submit it until i have one prior post. |
17. TransactionalDataSource tests not rolling back forum.springsource.orgTransactionalDataSource tests not rolling back I have several DAO tests which extend AbstractTransactionalDataSourceSpringContextTests and I am using an embedded HSQLDB as my DataSource. When I run the tests individually they all ... |
18. test forum.springsource.orgDec 25th, 2008, 07:29 AM #2 shtek View Profile View Forum Posts Private Message Junior Member Join Date Dec 2008 Posts 4 BeanFactory works but ClassPathXmlApplicationContext does not Please help !!!!! ... |
19. TestNG Test with SimpleMessagingGateway forum.springsource.orgTestNG Test with SimpleMessagingGateway I am using Spring Integration along with JAXB and Spring-WS to make a pretty straightforward synchronous web service call, and I have written a TestNG test to ... |
20. Load test related features for spring tests? forum.springsource.orgIs there any plans to introduce any load-test-related functionality to Spring-test? Something @Concurrent(10) to run the test in 10 concurrent threads coupled with @Repeat would be great. And also maybe a ... |
21. Problem with test application forum.springsource.orgI am new to Java/Spring. I have been trying http://static.springframework.org/do...tep/part1.html When I go to http://localhost:8080/springapp/hello.htm it does not redirect to hello.jsp. What am I missing? I checked all the code to ... |
22. test forum.springsource.org |
23. Testing an implementation of AbstractJmsMessageDrivenBean forum.springsource.orgTesting an implementation of AbstractJmsMessageDrivenBean Hi, I'm using a MDB which extends AbstractJmsMessageDrivenBean. I need to write a unit test for receiving a message from a configured queue. I've configured activemq ... |
24. Class name substitution test (spring 2.5.5) forum.springsource.orgClass name substitution test (spring 2.5.5) Hi, could you kindly review the code below and explain what I'm doing wrong in class name substitution using property placeholder? (Property substitution works for ... |
25. How to write test suit to run multiple test case forum.springsource.orgHi, I am novice in Junit4. By using Junit4, spring 2.5, I have written multiple test case, now I want to integrate in single testSuit to run all the test case ... |
26. Unregister ContextRefreshedEvent for test forum.springsource.orgUnregister ContextRefreshedEvent for test Hi all, I have a class implementing ApplicationListener to catch ContextRefreshedEvent. I want to write unit test for this class but I want to "unregister" it from ... |
27. Test question forum.springsource.orgTest question Hi all, The sample service application project creates a bundle, and then another "bundle" (dynamically created unit testbundle) is used to test the service. Is it possible to include ... |
28. test code comments forum.springsource.orgApr 21st, 2009, 07:23 PM #1 rajasekhar17 View Profile View Forum Posts Private Message Member Join Date Feb 2009 Posts 74 test code comments I'm trying to integrate spring batch sample ... |
29. Why is this test case not rolling back? forum.springsource.orgWhy is this test case not rolling back? I was wondering if you can help me out. I've just made a new project with spring, hibernate, mysql (innodb), etc. and I'm ... |
30. test with extended DependencyInjectionTestExecutionListener forum.springsource.orgtest with extended DependencyInjectionTestExecutionListener Hello I have a Dao extending JpaDaoSupport and wrote a JUnit test for it: Code: @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "/spring-context.xml" }) @Transactional public class ContractDaoTest { private ... |
31. Testing void methods forum.springsource.orgTesting void methods I've just started writing my first jUnit tests and have come across an interesting problem. I'm unit testing my service objects and I'm stuck on testing a "manager" ... |
32. For large projects, what is the thinnest/easiest way to test the web tier? forum.springsource.orgFor large projects, what is the thinnest/easiest way to test the web tier? For large projects, what is the thinnest/easiest way to test the web tier? Every time I go to ... |
33. Anything better than DBUnit with Spring test framework? forum.springsource.orgAnything better than DBUnit with Spring test framework? Anything better than DBUnit with Spring test framework? I still find setting up dbunit to be bloated. Not so much in the setup ... |
34. Testing SkipListeners forum.springsource.orgHello, Can anyone recommend a decent way to test Skip Listeners? I'd like to test my processors and writers and include skip logic as part of my testing. Thanks, Alejandro |
35. skip listener testing forum.springsource.orgskip listener testing Hi, I have added a SkipListener to a tasklet with the following |
36. Speeding up tests with AbstractAnnotationAwareTransactionalTests forum.springsource.orgHi, I've been using AbstractAnnotationAwareTransactionalTests a lot for all of my Dao objects but it's been having some terrible effects on how long my unit tests take to run. Every single ... |
37. Testing JobDetailBean forum.springsource.orgTesting JobDetailBean I can't find any convenient way of testing JobDetailBean. I could create a SimpleTriggerBean in a test context, but injecting a Mock service in a jobDataMap is hassle for ... |
38. instanceof fails test... forum.springsource.orgAre you using the default AOP by proxies, or are you using CGILIB? I think that if you are using proxies, and if MyClass implements MyInterface, you end up with a ... |
39. perform test error forum.springsource.orgNevermind ... i'm an idiot ... imagine that. So just in case anyone else is as goofed as I am ... If you do not replace "/home/balex" in the "database properties ... |
40. tESTING FRAmework forum.springsource.orgWe do have a test module that is building on Mockito and Hamcrest. It is not packaged yet, but you can check out the sources and build them yourself, or just ... |
41. Spring Test forum.springsource.orgHi all, This is Rajesh form Bangalore. I am using spring3.0 in my project. Earlier I was using spring 2.5. So at that time to test flow of spring I used ... |
42. Replace Beanimplementation in Test forum.springsource.orgReplace Beanimplementation in Test Hi all, we use autowire via annotations. in some cases we want mock some interfaces in tests. we dont have any beandefinitions in applicationcontext.xml so we cant ... |
43. SpringHibernate Testing forum.springsource.orgHi All! I am trying to address some issues with Spring & Hibernate testing. Here is the code: Code: public class CampaignDAOImplTest extends AbstractTransactionalDataSourceSpringContextTests { private Integer key; .. public void ... |
44. Trying to setup a test structure forum.springsource.orgTrying to setup a test structure I was trying to setup a test structure in a JBOSS container. I received this error that I have never seen before. Can someone tell ... |
45. Test forum.springsource.orgContext: not bound Hi, I am following a Spring tutorial on http://www.vaannila.com/spring/sprin...troller-1.html. When I ran this code I met Multiple annotations found at this line: - The prefix "context" for element ... |
46. Testing in Spring not working forum.springsource.orgFeb 22nd, 2010, 06:48 PM #1 nezzy View Profile View Forum Posts Private Message Junior Member Join Date Jun 2009 Posts 16 Testing in Spring not working Hi, Hopefully somebody can ... |
47. Running/Testing individual classes in a Web project forum.springsource.orgRunning/Testing individual classes in a Web project Ok, I just got into Spring and Hibernate. When I run the default web project (NetBeans IDE 6.8) It starts Glassfish and then a ... |
48. Global values assigned in @BeforeSuite not available to all TestNG test classes? forum.springsource.org |
49. Spring - Test Suite forum.springsource.orgHi All, Is there a way of having a Spring managed test-suite? I want to be able to have one setup content in a DB, run the tests, run a post ... |
50. Spring Test (Connect time out) forum.springsource.orgApr 17th, 2010, 06:14 AM #1 allen515 View Profile View Forum Posts Private Message Junior Member Join Date Apr 2010 Posts 4 Spring Test (Connect time out) Could someone help me ... |
51. Why the below test is not working forum.springsource.orgWhy the below test is not working Code: import junit.framework.TestCase; import org.easymock.EasyMock; import org.junit.Before; import org.junit.Test; import java.util.List; import java.io.IOException; import java.util.ArrayList; public class MyTest { Temp mockTemp; Controller c; @Before ... |
52. Problems Testing spring forum.springsource.orgProblems Testing spring First of all I am new to this, so I tried to make a simple project using the springIDE and Eclipse! I downloaded the spring-framework-3.0.2.RELEASE-with-docs.zip package and added ... |
53. Absolute beginning question on Spring Test forum.springsource.orgAbsolute beginning question on Spring Test I have a relatively small Java library that implements a few dozen beans (no database or GUI). I have created a Spring Bean configuration file ... |
54. Errors when attempting to 'perform test'. forum.springsource.orgErrors when attempting to 'perform test'. I've been trying for the better part of the day to follow the instructions on this page to build a roo page. I'm up to ... |
55. Testing forum.springsource.orgHello, So I have an MVC project that exposes my services in JSON format. What would be the ideal method of (unit?) testing whether or not my methods return correct content ... |
56. Project structure: tests before sources forum.springsource.orgThis is a feature of the maven-eclipse-plugin from version 2.6 or 2.7 from memory. I actually find it more useful with the test trees first as for example, one can have ... |
57. Unexpected behavior with Tests and SimpleNamingContextBuilder forum.springsource.orgUnexpected behavior with Tests and SimpleNamingContextBuilder I'm using the SimpleNamingContextBuilder to help me test a component that uses JNDI to lookup resources. The scenario I have seem to be a perfect ... |
58. @RunsWith(SpringJUnit4ClassRunner.class) in a Test Suite forum.springsource.org@RunsWith(SpringJUnit4ClassRunner.class) in a Test Suite I have a rather challenging issue. I'm running with Spring 3.0 and I have several JUnit Tests in my project that all extend a single base ... |
59. SpringJUnit4ClassRunner as a Test Suite forum.springsource.orgSpringJUnit4ClassRunner as a Test Suite I have a rather challenging issue. I'm running with Spring 3.0 and I have several JUnit Tests in my project that all extend a single base ... |
60. Using SpringJUnit4ClassRunner as a Test Suite forum.springsource.orgUsing SpringJUnit4ClassRunner as a Test Suite I have a rather challenging issue. I'm running with Spring 3.0 and I have several JUnit Tests in my project that all extend a single ... |
61. Initial tests fail after reverse engineering forum.springsource.orgInitial tests fail after reverse engineering In my quest to get Roo running to do something useful, I've run into another snag. I've reverse engineered a database, generated test classes for ... |