flatbuffers/tests/FlatBuffers.Test
2025-01-09 21:30:01 -08:00
..
Properties
.gitignore
Assert.cs
ByteBufferTests.cs
clean.sh
FlatBufferBuilderTests.cs
FlatBuffers.Test.csproj Remove Resource path 2025-01-09 21:30:01 -08:00
FlatBuffersExampleTests.cs Update data location in tests 2025-01-09 21:20:27 -08:00
FlatBuffersFuzzTests.cs
FlatBuffersTestClassAttribute.cs
FlatBuffersTestMethodAttribute.cs
FuzzTestData.cs
Lcg.cs
monsterdata_cstest.mon Target .NET Standard 2.1, .NET 6, .NET 8 only (#8184) 2023-12-19 14:43:55 -08:00
monsterdata_cstest_sp.mon Target .NET Standard 2.1, .NET 6, .NET 8 only (#8184) 2023-12-19 14:43:55 -08:00
NetTest.bat Target .NET Standard 2.1, .NET 6, .NET 8 only (#8184) 2023-12-19 14:43:55 -08:00
NetTest.sh Target .NET Standard 2.1, .NET 6, .NET 8 only (#8184) 2023-12-19 14:43:55 -08:00
packages.config Target .NET Standard 2.1, .NET 6, .NET 8 only (#8184) 2023-12-19 14:43:55 -08:00
Program.cs
README.md
TestTable.cs

.NET Tests

Running on Linux

Prerequisites

To run the tests on a Linux a few prerequisites are needed:

  1. mono
  2. msbuild

Running

To run the tests:

./NetTest.sh

This will download the .NET installer and core SDK if those are not already installed. Then it will build the tests using msbuild and run the resulting test binary with mono.

After running the tests, the downloaded .NET installer and SDK are not removed as they can be reused in subsequent invocations. The files are ignored by git by default, and can remain in the working directory.

Cleaning

If you want to clean up the downloaded .NET installer and SDK, run:

./clean.sh

This will wipe away the downloaded files and directories. Those will be automatically re-downloaded when running NetTest.sh.