-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run ExUnit and Espec at the same time #299
Comments
Hey @lorenzosinisi ! |
aright, thank you :) I was looking for a way to run both but maybe an alias would do the trick here |
Hey @antonmi! Is it possible to replace exunit with espec? |
Hey @alec-c4 ! |
@antonmi I'll try to explain. If you've worked with Ruby on Rails before, you maybe know that you can create an application with key
Which allows you to create app without tests, then use rspec with. Unfortunately, there are no similar option in Phoenix, so we are unable to create project without ex_unit and to use espec instead. That's why I'm askin' 'bout complete replacement of exunit with espec |
@alec-c4 ! Got it. |
Hello @antonmi , what is the best way to run ExUnit tests with an app that also has espec files?
I am trying to figure it out because I am working on an application which has one exunit file (an planning to add more) and some espec files. What is the best way to configure and run them both? or even with different commands?
I tried the following:
mix cmd --app app_name mix test file_name_test.exs
but of course no success as it compains about ExUnit not being startedThe text was updated successfully, but these errors were encountered: