Skip to content

Testing

Andrey edited this page Sep 24, 2023 · 2 revisions

There is GeometryDashAPI.Tests project for testing, it's contains

  • Unit tests (runs in CI)
  • Integration test for server response on a large data set (do not runs in CI)
    It's needs to set GDAPI_TESTS_CONTENTS env variable that points to the folder with the levels file.
    levels should contains a geometry dash response from server in each line
  • Integration test for game resources (do not runs in CI)
    It's needs to set GDAPI_TESTS_RESOURCES env variable that points to the Resources folder of game

Tested on

  • .NET 6
  • .NET Core 2.2
  • .NET Framework 4.8

learn more

Clone this wiki locally