-
Notifications
You must be signed in to change notification settings - Fork 227
Building and running tests
Jorge Bay Gondra edited this page Jun 28, 2017
·
19 revisions
DataStax C# drivers support .NET 4.5+ and .NET Core 1.0+.
dotnet restore src
dotnet build src/Cassandra.sln
dotnet test src/Cassandra.Tests/Cassandra.Tests.csproj -f netcoreapp1.0
The target frameworks supported by the test projects are netcoreapp1.0
and net452
.
There are more than 450 unit tests, running them should take no more than 3 minutes (usually less).
To run the integration tests you need ccm on your machine and make a ccm command accessible from command line path. You should be able to run > cmd.exe /c ccm help
using command line on Windows or $ /usr/local/bin/ccm help
on Linux / macOS.
dotnet test src/Cassandra.IntegrationTests/Cassandra.IntegrationTests.csproj -f netcoreapp1.0