You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @jfacoustic !
I think 'mix espec --stale' is something similar.
Check this PR: #292
But watching files is a good idea. If you have enthusiasm, PR are welcome!
If you're building an application with ESpec, I think you can do this now with https://github.com/lpil/mix-test.watch. Just have to install the dependency and then modify config/config.exs with:
if Mix.env() == :dev do
config :mix_test_watch,
tasks: [
"espec"
]
end
Seems to work using https://github.com/antonmi/espec_phoenix as a test application with Espec 1.9.0. Maybe we should just document the usage of this in the README instead?
It would be nice to be able watch for changes in the code and automatically run the respective tests.
The text was updated successfully, but these errors were encountered: