Skip to content

Add a docker file to run the test case locally for figures.#128

Open
Anas-hameed wants to merge 1 commit intodevelop-koafrom
Anas/Run-test-locally
Open

Add a docker file to run the test case locally for figures.#128
Anas-hameed wants to merge 1 commit intodevelop-koafrom
Anas/Run-test-locally

Conversation

@Anas-hameed
Copy link

@Anas-hameed Anas-hameed commented Apr 10, 2025

Change description

Docker container files were created to run the test cases locally.

  • We can use ' pdb/breakpoint` by opening the container through VS Code and do the respective development.
  • Additionally, we can run each test case separately and fix the issue.

Commands:

  • Build Image: docker image build -t figures-test .
  • Connect the Docker image from the VS Code sidebar.
image
  • Run Image: pytest . or we can run pytest tests/test_tasks.py to run the test cases in a specific file.

Dependencies:

Dev Container: https://code.visualstudio.com/docs/devcontainers/containers

Special thanks to @Danyal-Faheem for writing the docker file.

@Anas-hameed Anas-hameed self-assigned this Apr 10, 2025
@Anas-hameed Anas-hameed force-pushed the Anas/Run-test-locally branch from 0241caf to ab5e178 Compare April 10, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants