I have an escript project done in Elixir using mix. The project has two or three .ex files that needs to be executed using certain arguments using the "escript" command It is like a client server based project where one escript run, starts the server(that keeps running) and a another escript run (in another terminal) connects to the server and does operations.
How to write a test script using ExUnit (and run using mix run test) and call the client functions in the test file after starting server.?
Aucun commentaire:
Enregistrer un commentaire