Skip to content

Looking for community contribution: Improve unit tests test coverage #542

Closed

Description

@hangfei

We want to improve unit test coverage.

There are two categories:

  1. adding new unit tests for code paths that are not well-tested
  2. fixing existing disabled test cases

Please comment below on which tests you want to add or fix and start a PR. Please link the PR to this issue for tracking. Thanks!

Activity

  1. added
    good first issue
    help wanted
    on May 4, 2025
  2. self-assigned this
    on May 4, 2025
  3. added theissue type on May 4, 2025
  4. bhaskar-nair2 commented on May 4, 2025

    @bhaskar-nair2

    Hi, the current adk-samples can be expanded by adding simple examples such as using local persistent memory or simple multi agent setup with tools. Is that something I can add?

  5. luaifei commented on May 4, 2025

    @luaifei
    Contributor

    Fix the skipped tests in the tests/unittests/test_auth_handlers.py

  6. luaifei commented on May 4, 2025

    @luaifei
    Contributor

    Fix the failed tests in the tests/unittests/tools/application_integration_tool/clients/test_connections_client.py and uncomment the skip tests in the tests/unittests/auth/test_auth_handler.py

  7. luaifei commented on May 4, 2025

    @luaifei
    Contributor

    Except the tests in tests/unittests/tools/test_agent_tool.py because of the issues in the code side, I think that all of the unittests should be fixed.

  8. hangfei commented on May 5, 2025

    @hangfei
    CollaboratorAuthor

    Hi, the current adk-samples can be expanded by adding simple examples such as using local persistent memory or simple multi agent setup with tools. Is that something I can add?

    Hi @bhaskar-nair2 thanks for your interest. We are working on a e2e test infra to enable what you mentioned. Stay tuned.

    For now, it's more efficient for the community to focus on unit tests.

  9. anencore94 commented on May 6, 2025

    @anencore94
    Contributor

    @hangfei Hi, I'll take failed unit test issues from "tests/unittests/tools/application_integration_tool/clients/test_connections_client.py"

  10. thiagoneves commented on May 7, 2025

    @thiagoneves
    Contributor

    Fix the failed tests in tests/unittests/artifacts/test_artifact_service.py

  11. thiagoneves commented on May 8, 2025

    @thiagoneves
    Contributor

    Guys, I’m working on improving/fixing the tests in the agents folder

  12. hangfei commented on May 9, 2025

    @hangfei
    CollaboratorAuthor

    Fix the failed tests in tests/unittests/artifacts/test_artifact_service.py

    Thanks! Could you enable the test by removing "--ignore=tests/unittests/artifacts/test_artifact_service.py" from .github workflows? Thanks.

  13. iamulya commented on May 19, 2025

    @iamulya
    Contributor

    Opened a PR for the first test in code_executors

  14. gadda00 commented on Jun 11, 2025

    @gadda00

    Hi, I've opened a pull request to address this issue: https://github.com/gadda00/adk-python/pull/1

  15. ToryFriday commented on Jun 21, 2025

    @ToryFriday

    Hi! I’d like to contribute by writing unit tests for files not yet covered.

    I'll start with:

    • tests/unittests/utils/ (or any specific file inside like file_name.py)
      or
    • a CLI-related test not covered.

    Let me know if that sounds good.

  16. hangfei commented on Jun 24, 2025

    @hangfei
    CollaboratorAuthor

    Hi! I’d like to contribute by writing unit tests for files not yet covered.

    I'll start with:

    • tests/unittests/utils/ (or any specific file inside like file_name.py)
      or
    • a CLI-related test not covered.

    Let me know if that sounds good.

    that works. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issuehelp wanted

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions