R
R
Roman2016-10-03 17:34:32
Python
Roman, 2016-10-03 17:34:32

How to test sql query?

Good afternoon. There is some sql-query for selection from a DB. For this request in python, you need to write a test-case. Tell me in which direction to dig (code examples, literature, etc.)? Never faced it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
romy4, 2016-10-03
@romy4

Create a new empty table, fill it with fake data, and knowing the result of the sample, create a test case

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question