You can use the servletContextHandler
for those things in a test.
You can set initParameters
with servletContextHandler.setInitParameter("the.param", "the.value")
I'll update the docs so they won't say that the testing support is added through jetty tester.
In fact it uses an embedded jetty server so the init
method should get called.