-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Find a way to do functional tests #698
Comments
Perhaps Dusk is the answer after all. Even if I don't like its slowness. It doesn't work with Homestead, but it does work when your dev env is outside a VM (with Valet for instance). An avenue to run Dusk on Travis https://laravel-news.com/laravel-dusk-continuous-integration |
What exactly are you missing from default Laravel http testing capabilities? |
I'm currently trying to run tests with an other test framework which uses selenium : lmc/steward. |
@erdmenchen it won't let me test the views that contain VueJS. |
What about this approach: https://nick-basile.com/blog/post/testing-a-vuejs-and-laravel-todo-app The author uses PHPunit tests for Laravel side by side with the official vue-test-utils for your vue stuff... And a key motivation was speed, too. |
@erdmenchen Wasn't aware of this. It's worth trying so we can stick with Laravel's built-in capabilities. Will test and report. |
Why close? Is the discussion over? |
Well, this was closed automatically when I've merged the PR, but the discussion is not really over, yep ! |
The (merged) PR #892 activated tests with Dusk. |
So yes, we've migrated to Dusk outside a VM, we run it on Sauce Labs and for now, things are working. We should see if we encounter cases where Dusk is not appropriate again. |
Browser tests are running well now. |
This issue has been automatically locked since there |
We use unit tests and some sort of functional tests, but these are extremely limited.
I've done some tests with Dusk but
What can we use to do functional tests? I'd love to use Ghost Inspector which is a company I've always admired, but
Functional testing is a necessity and not having them currently makes me super nervous.
The text was updated successfully, but these errors were encountered: