Skip to content

Shows how to set up integration tests for Azure Search using xUnit and .NET Core.

Notifications You must be signed in to change notification settings

abhith/sample-azure-search-integration-tests

 
 

Repository files navigation

Sample Azure Search Integration Tests

Repository to show how you could set up integration tests for Azure Search using xUnit and .NET Core.

Build status

Getting started

⚠ If you use a free tier search service, or a basic tier with > 1 replica, you need to adjust WaitForIndexing (see comments in method).

To run this solution:

  • Set up an Azure Search Service in your Azure Portal, note an Admin API Key
  • Create a file AzureSearchExample.Tests/appsettings.dev.json (it is in the .gitignore file) containing the apiKey and the searchServiceName
  • Build
  • Run the tests

All tests should be green. If they're not, see the above warning, or debug things yourself...

About

Shows how to set up integration tests for Azure Search using xUnit and .NET Core.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C# 100.0%