Mark Hobson

Results 24 comments of Mark Hobson
trafficstars

Hi @MohaseenKhan, I'm glad this image is useful. I'm not familiar with those arguments but that is generally the way to pass arguments to ChromeDriver - see [Capabilities and ChromeOptions](https://developer.chrome.com/docs/chromedriver/capabilities)....

Hi @mistahenry, thanks for raising this issue. I haven't tried spring-rest-template-logger with `MockRestServiceServer` but I think this makes sense - the [docs](https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html#spring-mvc-test-client) mention that it replaces the template's request factory:...

Java currently has [no official mechanism of obtaining the method name from a method reference](http://stackoverflow.com/questions/19845213/how-to-get-the-methodinfo-of-a-java-8-method-reference). I'm aware of two possible workarounds: 1. [Invoke the method reference function with a spy...

#21 addresses inferring the method reference name. Remaining task is to derive a friendly name from the method name, e.g. `first name` from `getFirstName`.

Hi @dtandersen, thanks for the submission and sorry for the delay. I went for static imports rather than a builder pattern as it's more in the style of Hamcrest, but...

Note that this a general problem with Java 8 generics and is applicable to Hamcrest itself. For example: ``` assertThat(singletonList("x"), contains(1)); // error under Java 7 but not Java 8...

This issue can be worked around with the following custom widget: ```python class RemoveLeadingZerosGovDateInput(GovDateInput): # type: ignore """ A GOV.UK date input widget that removes leading zeros from day and...

Hi @Lxstr, thanks for the considered reply. I'm not setting the session in each request but I was unaware of `SESSION_REFRESH_EACH_REQUEST` defaulting to true. That's a subtle Flask default -...

I had a go at the lazy session pattern. This seems to do the trick: ```python from typing import Any, Callable, Iterator from flask import Flask, Request, Response from flask.sessions...

This occurs with an in-memory SQLite database, but not a file-based SQLite database, nor a production-grade database like PostgreSQL. I appreciate that this is more of a SQLite issue, but...