When I looked at the Spring source code I realized that all unit tests make use of mock controls only. Does Spring test its code, for example JDBC classes, with real database? If it does, is it made available to the community?
Thanks
When I looked at the Spring source code I realized that all unit tests make use of mock controls only. Does Spring test its code, for example JDBC classes, with real database? If it does, is it made available to the community?
Thanks
Hello
You can create a DataSource based in a In-Memory DataBase for testing purposes, keeping the other like Mysql for productionDoes Spring test its code, for example JDBC classes, with real database?
I suggest you read the Spring Documentation, research in forums and read some books, it is covered many timesIf it does, is it made available to the community?
- Manuel Jordan
Kill Your Pride, Share Your Knowledge With All
The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7
Blog
Technical Reviewer of Apress
- Pro SpringSource dm Server
- Spring Enterprise Recipes: A Problem-Solution Approach
- Spring Recipes: A Problem-Solution Approach, 2nd Edition
- Pro Spring Integration
- Pro Spring Batch
- Pro Spring 3
- Pro Spring MVC: With Web Flow
- Pro Spring Security