anonlink-entity-service icon indicating copy to clipboard operation
anonlink-entity-service copied to clipboard

Test backend by modifying database

Open hardbyte opened this issue 6 years ago • 1 comments

The tests are currently written to work entirely through the REST api - this is good for e2e style tests as we don't have to have special access to the deployment other than normal API access.

There are however lots of better tests we could write if we could edit the database, the object store and redis. This issue is to create some of those lower level tests and add them to jenkins.

test that errors get handled when:

  • expected CLK/result files are not in object store
  • expected rows are missing from database

hardbyte avatar May 28 '18 06:05 hardbyte

https://datamade.us/blog/transactional-testing

hardbyte avatar Aug 09 '18 06:08 hardbyte