FindBugs

1 view
Skip to first unread message

Steve Ramage

unread,
Nov 23, 2011, 6:02:03 PM11/23/11
to CPSC410-2011
Our entire test case and code coverage is suppose to be done via HTTP
generated requests correct (that is any JUnit tests that test the
server side code directly are not acceptable?)

Steve Ramage

Eric Wohlstadter

unread,
Nov 23, 2011, 6:18:37 PM11/23/11
to cpsc41...@googlegroups.com
If you can test some parts of the server-side code in isolation (without using HTTP), you are free to do so.
However, it will be difficult for some parts of the application (pieces that interact with HttpServletRequest, HttpServletResponse, or JSPs).

If you have some complex part of the application such as an algorithm, which is independent of a Web application context (e.g. the algorithm might also be useful on a desktop application), then you are allowed to test it with JUnit directly.

Eric
Reply all
Reply to author
Forward
0 new messages