Skip to content

[Docs] - Documentation for running FOXX tests #1391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
megatnt1122 opened this issue Apr 23, 2025 · 3 comments · Fixed by #1393
Open

[Docs] - Documentation for running FOXX tests #1391

megatnt1122 opened this issue Apr 23, 2025 · 3 comments · Fixed by #1393
Labels
Type: Docs - Code Relates to code documentation

Comments

@megatnt1122
Copy link
Collaborator

Description

We need documentation for running Foxx unit tests.

@JoshuaSBrown
Copy link
Collaborator

JoshuaSBrown commented Apr 23, 2025

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

@megatnt1122
Copy link
Collaborator Author

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

@JoshuaSBrown
Copy link
Collaborator

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

@JoshuaSBrown JoshuaSBrown added the Type: Docs - Code Relates to code documentation label Apr 23, 2025
@JoshuaSBrown JoshuaSBrown changed the title Documentation for running FOXX tests [Docs] - Documentation for running FOXX tests Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Docs - Code Relates to code documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants