In repo root: ./gradlew assemble compileIntegrationTestJava
Or a faster variant: ./gradlew assemble compileIntegrationTestJava -x check -x assembleDist -x distTar -x distZip --parallel
In this dir: dotnet build
In this dir: dotnet test --logger "console;verbosity=normal"
Specific test: dotnet test --logger "console;verbosity=normal" --filter ClientSocketTests
gradlew :ignite-runner:runnerPlatformTest --no-daemon
To debug or profile Java side of the tests, run org.apache.ignite.internal.runner.app.PlatformTestNodeRunner class in IDEA with a debugger or profiler, then run .NET tests with dotnet test or dotnet test --filter TEST_NAME. When a server node is present, .NET tests will use it instead of starting a new one.
The test node will stop after 30 minutes by default. To change this, set IGNITE_PLATFORM_TEST_NODE_RUNNER_RUN_TIME_MINUTES environment variable.
To ensure that external test node is used, and a new one is never started by .NET test code, set IGNITE_DOTNET_REQUIRE_EXTERNAL_SERVER to true.
Static code analysis (Roslyn-based) runs as part of the build and includes code style check. Build fails on any warning.
.editorconfig files (test projects have relaxed rule set).stylecop.jsonDirectory.Build.props (can be disabled locally for rapid prototyping so that builds are faster and warnings don't distract)Update version number in version.json.
dotnet publish Apache.Ignite --configuration Release --output release/bin
dotnet pack Apache.Ignite --configuration Release --include-source --output release/nupkg
dotnet tool restoredotnet docfx docs/docfx.jsonResulting docs are in docs/_site.
To view them locally, run dotnet docfx docs/docfx.json --serve.