Spring Alternatives to MockHttpServlet (Request | Response)?

There are class layouts for unit testing Servlets in 'spring -test', which is very useful. Unfortunately, I do not need any of the other components of Spring, and I do not want to depend on spring -core in my project.

You can also:

  • Use spring -test, regardless of spring -core, ... (separate the mocking classes from spring)?
  • Use an alternative library with similar features?
+3
source share
1 answer

Mockrunner, J2EE, , MockHttpServletRequest Response.

+1

Source: https://habr.com/ru/post/1769097/


All Articles