tree: 8c97f91c5653d7fd0687a93b0737252fa0fb5634 [path history] [tgz]
  1. Properties/
  2. .gitignore
  3. Assert.cs
  4. ByteBufferTests.cs
  5. clean.sh
  6. FlatBufferBuilderTests.cs
  7. FlatBuffers.Core.Test.csproj
  8. FlatBuffers.Test.csproj
  9. FlatBuffersExampleTests.cs
  10. FlatBuffersFuzzTests.cs
  11. FlatBuffersTestClassAttribute.cs
  12. FlatBuffersTestMethodAttribute.cs
  13. FuzzTestData.cs
  14. Lcg.cs
  15. NetTest.bat
  16. NetTest.sh
  17. packages.config
  18. Program.cs
  19. README.md
  20. TestTable.cs
tests/FlatBuffers.Test/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.