Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Setting up CMS for integration tests

$
0
0

I'm trying to find out the best way to execute Integration-tests against the CMS. Not to be confused with Unit-tests for which we could use mocks of the relevant Episerver-related implementations. We would like to have a solution which enables us to have context which we can make operations against like we would in a real Episerver-site. This is the flow I'm imagining in the best of worlds:

  1. Create an Episerver instance on demand using an empty Episerver database-template (in a testproject)
  2. Applying an exportpackage to the instance
  3. Run automated tests against the instance
  4. Pull down the instance and end the tests

I've seen examples that I've tried to replicate but I'm not fully succeeding yet. So my question is if there is anyone out there whos has pulled this (or similar) off and can give any guidance? Is this feasible or just a pipe-dream? :)


Viewing all articles
Browse latest Browse all 9076

Trending Articles