Relative Content

Tag Archive for data

Data service API design

We’re designing a data service that will store a large number of statistics about stocks, including historical data. The client will be a web application, which will need to pull various bits of data to show in different places on the site.

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 tests. I’ve written helpers that take care of doing inserts and deletes before tests are executed, to make sure the state is correct. But now I can’t run them in parallel against the same database without uniquely generating the test data fields for each test. For example.