vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.7k stars 4.39k forks source link

Which configuration file is used when running E2E tests? #1435

Open Doogiemuc opened 6 years ago

Doogiemuc commented 6 years ago

If I understand correctly the *.env.js files under config/ include each other via webpack-merge in this order:

test.env.js => dev.env.js => prod.env.js

This would mean, that the test actually use the dev settings. Shouldn't tests run (as much as possible) against the prod settings. And only change/override a few config settings?

huxianghe commented 6 years ago

is that a vue test and demo?

发自我的 iPhone

在 2018年8月13日,16:40,Robert notifications@github.com<mailto:notifications@github.com> 写道:

If I understand correctly the *.env.js files under config/ include each other via webpack-merge in this order:

test => dev => prod

This would mean, that the test actually use the dev settings. Shouldn't tests run (as much as possible) against the prod settings. And only change/override a few config settings?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/vuejs-templates/webpack/issues/1435, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhS_k2ioG5ih0yOwQ7CzUJcpSCl2p6nMks5uQTtsgaJpZM4V6GYy.

Doogiemuc commented 6 years ago

I was Talking about the preconfigured tests in the /test/e2e/ Directory of this template.

Meanwhile I found my own solution. I wrote tests that Fan tun against ans Environment (local or remote)