Automation, Mark II

time to read 1 min | 168 words

It just hit me that I just finish executing the entire NH Prof integration test suite on my new machine, and I had done absolutely no setup.

Well, I tell a lie. I had to configure the connection string, like this:image

It isn’t very smart approach, but it is the one that has the least friction. Once I did that, all I had to do next was to execute the integration test suite. It is smart enough to recognize that it is running on a new machine (originally created because I wanted to save the other members of the team the bother of setting up the DB), create a database and populate it with the required data.

The surprising thing is that I never even thought about this until I looked at all the tests passing and realized that I had to do almost no setup.