database-testing Questions

8

Solved

I have heard that when developing application which uses a database you should do database unit testing. What are the best practices in database unit testing? What are the primary concerns when doi...
Almoner asked 22/9, 2010 at 17:43

3

Solved

This is the first time, my team has asked me to do some testing on Database which I have no clue how to approach. By testing on database I mean, I need to see how fast it can insert records into it...

0

I am working on a Flask app for APIs and created few Flask-SQLAlchemy models. I have written a function which takes a list of dictionaries and insert them into Postgres database model tables as row...

1

Solved

I have basically a testing scenario, where I Create database Fill it with some data Execute the business logic to be tested, which modifies the data. I don't own the business logic implementation ...

1

Solved

I really can't seem to find an accurate explanation on why you should use the same database in development as in production. I personally love using sqlite3 in development (it's light, easy to use,...
Nightdress asked 20/4, 2015 at 9:3

4

Solved

I've been doing a lot of sproc programming in MySQL lately. And I must say that I like it. A lot. However debugging these babies sucks. Anyone know of any tools that can put some happiness ...
Bicker asked 12/4, 2011 at 22:31

5

Solved

I want to create unit tests that cover code that use relational database in Play framework 2.1.0. There are many possibilities for this and all cause problems: Testing on in-memory H2 database Pl...

1

Usually migration script is simple like adding new column or so and if applications if deployed then everything is ok. but sometimes there is some complex logic involved that should be tested. what...

2

Solved

Does anybody know of a framework (or methodology) to unit test stored procedures just using SQL and be able to produce a reasonable report as to what has passed and what has failed (something simil...

2

Solved

Is it possible to load multiple flat xml datasets on PHPUnit to load lots of fixtures? We are writing a rather complex application and the xml dataset is getting pretty big, so I would like to sli...
Slipover asked 27/5, 2012 at 13:54

2

Solved

I've been using sqlite::memory: for unit tests: it is quick, and makes test clean-up automatic. But I'm concerned my tests could be missing bugs due to SQL server assumptions. (This particular code...
Phono asked 20/1, 2013 at 10:31

2

Solved

How would I use NUnit and a test database to verify my code? I would in theory use mocks (moq) but my code is more in maintenance shape and fix it mode and I don't have the to setup all the mocks. ...
Timorous asked 7/12, 2012 at 22:37

3

Solved

Our database is poorly designed all the way around (we inherited it). I've reworked the schema to something useable and maintainable. Quite a few tables and columns have been dropped, many columns ...
Fireplace asked 21/7, 2011 at 14:23

6

Solved

When you are doing integration tests with either just your data access layer or the majority of the application stack. What is the best way prevent multiple tests from clashing with each other if t...
Orometer asked 14/9, 2008 at 23:25
1

© 2022 - 2024 — McMap. All rights reserved.