We once defined an integration test as a test that reads or writes a file. But DocketTest is defined as a unit test (file name …Test.java) and is executed on every Maven command. It doesn't just read one file, it reads very many—at least on Windows, it parses all installed fonts each time, produces a thousand lines of output and it takes minutes. So it should be an integration test instead (file name …IT.java).
We once defined an integration test as a test that reads or writes a file. But DocketTest is defined as a unit test (file name
…Test.java
) and is executed on every Maven command. It doesn't just read one file, it reads very many—at least on Windows, it parses all installed fonts each time, produces a thousand lines of output and it takes minutes. So it should be an integration test instead (file name…IT.java
).