7
7
700ghz2019-05-08 20:36:12
MySQL
700ghz, 2019-05-08 20:36:12

Run tests on MYSQL or SQLITE?

Hello everyone =)
Nodejs. MySQL (+ Sequelize ORM). Tests.
We run tests on sqlite:inmemory (speed is class!). However, there is a difference in code behavior between mysql and sqlite.
What to do?

running tests
Development: sqlite
On staging and production servers: mysql
Is this correct?

Thank you! =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2019-05-08
@700ghz

It strongly depends on whether you got into raw sql and whether you use the specific features of this "subd"
In the general case, there will be no differences

It is right?
yes, that's right
Over time, start writing load and volume tests that will run on staging

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question