v4.2.0
Fixed
-
On Unix-like system we no longer start the client application prematurely. Previously, we'd run (essentially)
mix do run -e 'Application.put_env(:elixir, :ansi_enabled, true)', testin order to enable ANSI control codes/colors when running tests. However,mix runby default starts the application. Normally this would be fine, but in some cases it can cause problems. We now usemix do eval 'Application.put_env(:elixir, :ansi_enabled, true)', testinstead, which delays starting the application until themix testtask runs. (#132) -
Properly handle the
--no-startoption tomix teston Unix-like systems. Previously, we were using that option for themix run -ecommand we were using to enable ANSI output, but not passing it through tomix testitself. (#132)
Added
- We make the use of ANSI control code output configurable by adding the
--(no-)ansi-enabledcommand-line option andansi_enabledconfiguration setting. Previously, we'd enable ANSI output automatically on Unix-like systems and not on Windows. This is still the default, but now Windows users can opt into ANSI output. Since Windows 10, ANSI support has been available if the appropriate registry key is set. Additional, users on Unix-like systems can opt out of ANSI output if desired. (#133)