Wednesday, 5 December 2018

How do you e2e test your website which uses a database?

I have 100% unit test coverage for my site backend, but I'm thinking that it would be a good idea to also have a simple e2e test so I don't have to do it manually. I'm having trouble setting this up, but I was just wondering how you all do it.What I'm trying to do it create a test database (MySQL) in docker, and running that inside my test code. I won't be using a fancy testing framework for the sake of keeping it really simple. But how do you all do it? Would you use a local test database for e2e testing?

Submitted December 05, 2018 at 10:08PM by MakotoE

No comments:

Post a Comment