SQL: is TDD possible when working with SQL queries / views, etc.?

Being quite familiar with TDD in the Java environment, I was wondering if TDD is used when creating SQL queries, creating views, etc.

If it is also used, how do people do it? Will you need to create a lot of tiny databases (for each unit test basically)?

I don’t know if my question makes sense, but nonetheless: TDD is considered quite a thing that has changed the way software is developed, and there is definitely a development at the “SQL” level. So how do TDD and DB / SQL mix?

+3
source share
2 answers

Rails , , migrations fixtures .

TDD .

, , TDD , , - .

+2

, .

: " ?"

, , , , , . , , : .

0

Source: https://habr.com/ru/post/1783833/


All Articles