Unit test « MVC « Spring Q&A;

Home
Spring Q&A;
1.Annotation
2.AOP
3.Batch
4.Bean
5.Binding
6.Context
7.Core
8.Database
9.Development
10.EJB
11.Exception
12.File
13.GWT
14.Integration
15.Internationalization
16.Java EE
17.Job
18.JPA
19.JSF
20.Message
21.MVC
22.MVC Controller
23.Object
24.Remote
25.Roo
26.Security
27.Session
28.Spring Tool Suite
29.Struts
30.Test
31.Thread
32.Transaction
33.Web
34.Web Service
35.XML
Spring Q&A; » MVC » Unit test 

1. Unit tests for Spring JsonView    stackoverflow.com

I started working with Spring MVC recently so I may be missing something obvious. I am using the Spring MVC JsonView view and I would like to unit test the json that's ...

2. How to mock a private inner class    stackoverflow.com

I have a spring application and I want to create a unitary test on a controller like this one. The problem is that the Wrapper class is a private inner class, ...

3. What are the benefits of Spring Framework in Terms of Testing Application?    stackoverflow.com

We have heard a lot about Benefits of Spring like it offers loose coupling, dependency injection, inversion of control etc but from testing point of view, I have couple of question. ...

4. unit testing Freemarker and Spring    stackoverflow.com

I have a freemarker template and I want to write a test that checks the output for a given model input.

@Test
public void testProcessTemplateWithModel() throws Exception {
    final Configuration ...

5. Testing views with Spring Framework at the same time you run unit tests?    stackoverflow.com

Is there a way to test views rendered in freemarker at the same time I run my unit tests? It would be great if the test failed if Freemarker threw an ...

6. How to unit test file uploads with MockHttpServletRequest?    stackoverflow.com

I've a Spring (3.0) Controller with a method which has HttpServletRequest as one of the parameters, since it's handling (multiple) file uploads.

@RequestMapping(value = "/classified/{idClassified}/dealer/{idPerson}/upload",
    method = RequestMethod.POST)
@ResponseBody
public final ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.