Configuring ExUnit Tests in Elixir's Livebook

201
clicks
Configuring ExUnit Tests in Elixir's Livebook
WoT_Abridged is attempting to utilize Livebook, an interactive notebook for Elixir, to design practice problems that can be solved and tested within Livebook itself. The author encountered issues when trying to get the test cell to show the correct testing output, which is typical in a standard Elixir project using mix. Confusion arose from the results not displaying as expected. A comment from 'zoedsoupe' pointed out the need to manually invoke 'ExUnit.start()' in scripts or Livebook for tests to execute upon notebook evaluation. This small setup change could address the author's issues with running tests in Livebook.

© HashMerge 2024