webpack icon indicating copy to clipboard operation
webpack copied to clipboard

Which configuration file is used when running E2E tests?

Open Doogiemuc opened this issue 7 years ago • 2 comments

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?

Doogiemuc avatar Aug 13 '18 08:08 Doogiemuc

is that a vue test and demo?

发自我的 iPhone

在 2018年8月13日,16:40,Robert <[email protected]mailto:[email protected]> 写道:

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.

huxianghe avatar Aug 14 '18 00:08 huxianghe

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)

Doogiemuc avatar Sep 01 '18 09:09 Doogiemuc