You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there was a way to bootstrap the UrlResolverProducer without needing a ServletContext. Not 100% what it would look like, but if there was a way to provide enough context to still allow everything to bootstrap.
Big reason why... I've written a resource that (for some reason) is telling me I'm missing a @ModelPathSpec, even though I've got one defined. So, figured I'd try setting a breakpoint and checking things out. But, since the test is running through Arquillian, the code is running on the server, where I can't set a breakpoint. I could just deploy the application and debug from there, but it would be nice to write a unit test where I create mock objects, use my ViewTemplate, and then check out the result/set breakpoints as needed.
Thoughts?
The text was updated successfully, but these errors were encountered:
It would be nice if there was a way to bootstrap the
UrlResolverProducer
without needing aServletContext
. Not 100% what it would look like, but if there was a way to provide enough context to still allow everything to bootstrap.Big reason why... I've written a resource that (for some reason) is telling me I'm missing a
@ModelPathSpec
, even though I've got one defined. So, figured I'd try setting a breakpoint and checking things out. But, since the test is running through Arquillian, the code is running on the server, where I can't set a breakpoint. I could just deploy the application and debug from there, but it would be nice to write a unit test where I create mock objects, use myViewTemplate
, and then check out the result/set breakpoints as needed.Thoughts?
The text was updated successfully, but these errors were encountered: