Creating integration tests with and Nest


I am in the process of writing an application using Elastic, using the .net clients. I am trying to do some integration testing and having looked at the source code am wondering how the NEST integration tests spin up a cluster, or do they assume a cluster is already available?
Any help appreciated.
Kind regards

They connect to a separate standalone cluster, there is no embedded option in .net. You can see examples in the integration test directory

Hi John,

Thanks for this. I’ve looked and found the tests, but can’t find anywhere the cluster is started/shut down. Do the tests assume a running cluster?
If not can you point me to the code file that performs start up/shut down?