Testing Elixir by Andrea Leopardi and Jeffrey Matthias

Hello, I downloaded Jeffery and Andreas code and updated some of the code with a test they had me enter in there. Then when I went to run the tests using mix test I got the following error:

‘’’
** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
‘’’

Jeffrey and Andreas book provides a mix file, so I am not sure where this error is coming from.

Hi, Kimberly!
Could you please share the directory structure you ended up with, the content of the Mixfile and your current working directory where you run mix test from.

1 Like