hdorgeval / testcafe-starter

starter project for e2e tests with testcafe
MIT License
76 stars 20 forks source link

Integrating into an existing app #7

Open blocka opened 5 years ago

blocka commented 5 years ago

It seems this repo is meant to use as a boilerplate for a greenfield app? Are there instructions for adding the infrastructure to an existing app?

hdorgeval commented 5 years ago

Hi @blocka, this project is intended to be a start-from-scratch-template for your e2e testing. Just create new feature files in the features folder and adapt the testcafe-config.ts to fit your needs. If you think something is missing in the documentation do not hesitate to do a PR or to continue posting in this issue

blocka commented 5 years ago

Makes sense. But lots of folks already use their own boilerplates like cra or vue- cli. Or perhaps they already have a brownfield app. It would be nice to know what steps to take to add this into an existing codebase.

On Mon, Jul 22, 2019, 9:02 PM hdorgeval notifications@github.com wrote:

Hi @blocka https://github.com/blocka, this project is intended to be a start-from-scratch-template for your e2e testing. Just create new feature files in the features folder and adapt the testcafe-config.ts to fit your needs. If you think something is missing in the documentation do not hesitate to do a PR or to continue posting in this issue

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hdorgeval/testcafe-starter/issues/7?email_source=notifications&email_token=AAAKROQSYJUPDMCF2YRTWULQAXY4RA5CNFSM4IFU4DA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QVV3I#issuecomment-513891053, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAKROQ6LGM2XAW5X4A6MBTQAXY4RANCNFSM4IFU4DAQ .

hdorgeval commented 5 years ago

Would be nice if you could share your code base, so that I can tell you what should be the steps to integrate that project.

blocka commented 5 years ago

Not gonna post one of my private projects here, but for the sake of example, let's take this: https://github.com/nicejade/awesome-vue-cli3-example

This is a project that was already bootstrapped with an existing tool (vue-cli)