Jonathan Bluett-Duncan
Jonathan Bluett-Duncan
I'm sure that migrating from Maven to Bazel has been thought about by someone on the Guava team already, but I thought that the task might as well be jotted...
## Overview Currently, AFAICT, no classes (apart from utilities classes) document their support for inheritance (that is, whether they are designed to be subclassed or not). _Effective Java 2nd edition_,...
It occurs to me that the `core/` subproject's pom.xml imports JUnit 4 as a non-test dependency. I think this is fine for projects that use JUnit 4 and Truth together...
I bumped into this yesterday on a work project - I was personally surprised to see that these aren't valid assertions in Truth: ```java assertThat("One ring to rule them all").containsAll("One",...
Proposed commit message: ``` ${action} (${issues} / ${pull-request}) [max 70 characters] ${body} [max 70 characters per line] ${references}: ${issues} PR: ${pull-request} ``` --- **PR checklist** The following checklist shall help...
Consider adding an `arguments` field to `@Dir` similarly to `@New` so that code like the following... ```java @Test void test(@New(value = TemporaryDirectory.class, arguments = { "someDirectoryPrefix" }) Path tempDir) {...
At time of writing, we have a `@Dir` annotation (might be renamed to `@TempDir` soon) that allows temporary directories to be created in tests with minimal code. We should consider...
Consider introducing the ability to change the filesystem that our `TemporaryDirectory` writes its temporary directories to. Currently it writes all directories to the local on-disk filesystem, but one may want...
Consider adding a new `TemporaryFile` resource factory. This would allow users to create temporary files more easily than with `TemporaryDirectory`, if files are all they need. This issue is a...
Consider introducing [this fix](https://github.com/junit-team/junit5/issues/2609) that the JUnit 5 team accepted for their own `TempDir`, to our own `TemporaryDirectory` class. It will allow tests that use our `TemporaryDirectory` to restore file...