DataFed icon indicating copy to clipboard operation
DataFed copied to clipboard

[Docs] - Documentation for running FOXX tests

Open megatnt1122 opened this issue 8 months ago • 3 comments

Description

We need documentation for running Foxx unit tests.

megatnt1122 avatar Apr 23 '25 17:04 megatnt1122

docker run -d -e ARANGO_ROOT_PASSWORD="<password>" -p 8529:8529 arangodb/arangodb:3.12.4

Password needs to be consistent with what is in the config/datafed.sh for the database parameter.

When compiling with Cmake you will need to make sure that the FOXX tests enable flag is turned on

cmake -S. -B build -DENABLE_FOXX_TESTS=ON -DBUILD_CORE_SERVER=OFF -DBUILD_COMMON=OFF -DBUILD_WEB_SERVER=OFF
cmake --build build 
cmake --build build --target install

JoshuaSBrown avatar Apr 23 '25 17:04 JoshuaSBrown

For building the tests:

docker build --build-arg DEPENDENCIES=datafed-dependencies -f ./docker/Dockerfile.foxx .

For running the tests:

docker run -e DATAFED_DATABASE_PASSWORD="butterscotch" -e DATAFED_ZEROMQ_SYSTEM_SECRET="butter" -e INSTALL_FOXX=ON -e ENABLE_FOXX_TESTS=TRUE --network=host datafed-foxx:latest

megatnt1122 avatar Apr 23 '25 18:04 megatnt1122

Documentation should be added in DataFed/docs/dev for this.

JoshuaSBrown avatar Apr 23 '25 20:04 JoshuaSBrown