flatbuffers/tests/FlatBuffers.Test
Derek Bailey 0dfcc0a378
Adds NetTest.bat to run .NET Core tests on Windows (#6216)
2020-10-27 22:51:58 -07:00
..
Properties Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
.gitignore [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
Assert.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
ByteBufferTests.cs [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
FlatBufferBuilderTests.cs Empties the sharedString map on reset on go and csharp (#6187) 2020-10-26 12:38:24 -07:00
FlatBuffers.Core.Test.csproj unix2dos on tests/FlatBuffers.Test/FlatBuffers.Core.Test.csproj (#6133) 2020-09-28 08:10:06 -07:00
FlatBuffers.Test.csproj [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
FlatBuffersExampleTests.cs [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
FlatBuffersFuzzTests.cs Break internal Java/C# APIs 2019-05-31 13:00:55 -07:00
FlatBuffersTestClassAttribute.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
FlatBuffersTestMethodAttribute.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
FuzzTestData.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
Lcg.cs Added missing licenses to some sh/cs/py files. 2016-05-23 09:51:41 -07:00
NetTest.bat Adds NetTest.bat to run .NET Core tests on Windows (#6216) 2020-10-27 22:51:58 -07:00
NetTest.sh [C#]Change to ENABLE_SPAN_T that doesn't require UNSAFE_BYTEBUFFER. (#6073) 2020-09-23 13:16:00 -07:00
Program.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
README.md [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
TestTable.cs Add FLATBUFFERS_COMPATIBILITY string (#5381) 2019-06-17 19:16:21 +02:00
clean.sh [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
packages.config [C#] support Json Serialization (#5752) 2020-02-10 17:43:36 -08:00

README.md

.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.