All Questions
11 questions
1
vote
3
answers
869
views
How do you test whether schema changes will break services?
I maintain a relational database of sorts, and occasionally a feature request requires a schema change (eg. add a new column, etc...).
However, a number of "services" consume this data. It's ...
1
vote
1
answer
111
views
An effective way of finding regressions
There is a rather large data flow engine - more than 2000 different flow definitions of "what to do with inbound data". The engine deals with various data formats (flat-file, CSV, JSON, XML, ...
1
vote
0
answers
25
views
Preventing setting regression with configuration tied to a build
I have inherited a distributed application with a lot of legacy configuration management.
Currently the application does not get it's settings updated with an application update. The flow looks ...
1
vote
1
answer
3k
views
How to store large test data sets. Git? [duplicate]
We have a camera application that does measurements on pictures. We have a feature for saving a "demo" containing the pictures/data used, and to replay this for test purposes. We use such data sets ...
3
votes
2
answers
1k
views
Is it acceptable to test based on test output data rather than input data in unit tests?
I'm used to write unit tests with assertions which are based on the input, e.g. (hopefully self-explanatory and let's assume that using random test data is fine)
int a = random();
int b = random();
...
13
votes
3
answers
10k
views
Where should I store test data?
I have smaller unit tests that use small snippets from real data sets. I would also like to test my program against full data sets for a multitude of reasons. The only problem is that a single real ...
52
votes
4
answers
10k
views
Should test data be checked into version control?
I'm writing some test code for a feature which processes PDF files. The basic idea behind the tests is that I point them towards some PDFs I've selected specially, they process them and I check that ...
2
votes
2
answers
1k
views
Static Test-Data in Helper Class: Getter vs Public Constant
Currently I am in process of writing large batches of Unit-Tests in the Project I am working on. Additionally we recently Introduced GUI-Testing. This project is a relatively simple webapp, on basis ...
2
votes
3
answers
710
views
Test Data in a Distributed System
A question that has been vexing me lately has been about how to effectively test (end-to-end) features in a distributed system. Particuarly, how to effectively manage (through time) test data for ...
8
votes
2
answers
2k
views
Isolating test data in acceptance tests
I'm looking for guidance on how to keep my acceptance tests isolated. Right now the issue I'm having with being able to run the tests in parallel is the database records that are manipulated in the ...
1
vote
1
answer
2k
views
How to get a list of valid addresses?
I need to get a list of valid addresses in 4 or 5 clusters (cities) in both the UK and US. It's to generate sample data for an application that will do geolocation and searching. At the moment I'm ...