DataFed
DataFed copied to clipboard
[Docs] - Documentation for running FOXX tests
Description
We need documentation for running Foxx unit tests.
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
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
Documentation should be added in DataFed/docs/dev for this.