logos-storage-nim/tests/testIntegration.nim
E M d62fbf5d52
WIP renaming
# Conflicts:
#	library/libstorage.nim

# Conflicts:
#	storage/rest/api.nim
#	storage/storage.nim
2026-02-19 15:08:16 +11:00

18 lines
531 B
Nim

import std/os
import std/strutils
import ./imports
## Limit which integration tests to run by setting the
## environment variable during compilation. For example:
## STORAGE_INTEGRATION_TEST_INCLUDES="testFoo.nim,testBar.nim"
const includes = getEnv("STORAGE_INTEGRATION_TEST_INCLUDES")
when includes != "":
# import only the specified tests
importAll(includes.split(","))
else:
# import all tests in the integration/ directory
importTests(currentSourcePath().parentDir() / "integration")
{.warning[UnusedImport]: off.}