[GH-ISSUE #4136] Revisit existing unit tests for the CLI #1485

Open
opened 2026-03-16 20:30:01 +03:00 by kerem · 22 comments
Owner

Originally created by @jamesgeorge007 on GitHub (Jun 20, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4136

Originally assigned to: @SnazofSnaz, @mikeng07, @Nicktochme on GitHub.

Description

Various unit tests exist for the CLI, but they are disabled at the moment because they were found flaky. They need to be revisited, and necessary updates (migrating to the Vitest set of APIs, resolving failed assertions, etc.) must be performed to be made part of the CI pipeline.

Also, #4095 introduced unit tests for the newly added functionality and migrated the test runner from Jest to Vitest, bringing in better ESM support.

Originally created by @jamesgeorge007 on GitHub (Jun 20, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4136 Originally assigned to: @SnazofSnaz, @mikeng07, @Nicktochme on GitHub. ### Description Various [unit tests](https://github.com/hoppscotch/hoppscotch/tree/main/packages/hoppscotch-cli/src/__tests__/functions) exist for the CLI, but they are disabled at the moment because they were found flaky. They need to be revisited, and necessary updates (migrating to the Vitest set of APIs, resolving failed assertions, etc.) must be performed to be made part of the CI pipeline. Also, #4095 introduced unit tests for the newly added functionality and migrated the test runner from Jest to Vitest, bringing in better ESM support.
Author
Owner

@VISHESH0932 commented on GitHub (Oct 14, 2024):

@jamesgeorge007 , I would like to work on this issue.

<!-- gh-comment-id:2410530165 --> @VISHESH0932 commented on GitHub (Oct 14, 2024): @jamesgeorge007 , I would like to work on this issue.
Author
Owner

@SanskritiHarmukh commented on GitHub (Oct 26, 2024):

Hey @VISHESH0932 , I wanted to check in for an update. Have there been any progress on this?

<!-- gh-comment-id:2439699224 --> @SanskritiHarmukh commented on GitHub (Oct 26, 2024): Hey @VISHESH0932 , I wanted to check in for an update. Have there been any progress on this?
Author
Owner

@saifkp517 commented on GitHub (Nov 4, 2024):

Hi @jamesgeorge007

I’m interested in working on this issue. I have recently started contributing to open source and would love to help revisit the existing unit tests for the CLI. Please let me know if I can take this on!

Thank you!

<!-- gh-comment-id:2454215405 --> @saifkp517 commented on GitHub (Nov 4, 2024): Hi @jamesgeorge007 I’m interested in working on this issue. I have recently started contributing to open source and would love to help revisit the existing unit tests for the CLI. Please let me know if I can take this on! Thank you!
Author
Owner

@SanskritiHarmukh commented on GitHub (Nov 4, 2024):

Hi @saifkp517 , thank you for your interest! Currently, the issues labeled with codeday are reserved for a specific open-source partnership program we're collaborating with. If you’re part of that program, please let me know, and I’ll be happy to guide you. If not, please feel free to explore other open issues that are open for contributions.

If this issue remains unassigned for a while, I’ll reach out to see if you’d be interested at that time.

<!-- gh-comment-id:2454237452 --> @SanskritiHarmukh commented on GitHub (Nov 4, 2024): Hi @saifkp517 , thank you for your interest! Currently, the issues labeled with `codeday` are reserved for a specific open-source partnership program we're collaborating with. If you’re part of that program, please let me know, and I’ll be happy to guide you. If not, please feel free to explore other open issues that are open for contributions. If this issue remains unassigned for a while, I’ll reach out to see if you’d be interested at that time.
Author
Owner

@SnazofSnaz commented on GitHub (Nov 11, 2024):

Hey, I'm working on this with Mike Nguyen, Nick Toch, and our mentor Kevin Cardona through codeday.

Sorry @saifkp517 your Earnestness is ♥️ happy coding 🌈

<!-- gh-comment-id:2467055155 --> @SnazofSnaz commented on GitHub (Nov 11, 2024): Hey, I'm working on this with Mike Nguyen, Nick Toch, and our mentor Kevin Cardona through codeday. Sorry @saifkp517 your Earnestness is ♥️ happy coding 🌈
Author
Owner

@SanskritiHarmukh commented on GitHub (Nov 11, 2024):

Hey, I'm working on this with Mike Nguyen, Nick Toch, and our mentor Kevin Cardona through codeday.

Sorry @saifkp517 your Earnestness is ♥️ happy coding 🌈

Hi, can you mention other contributor's username, so that I can assign the issue?

<!-- gh-comment-id:2467697427 --> @SanskritiHarmukh commented on GitHub (Nov 11, 2024): > Hey, I'm working on this with Mike Nguyen, Nick Toch, and our mentor Kevin Cardona through codeday. > > Sorry @saifkp517 your Earnestness is ♥️ happy coding 🌈 Hi, can you mention other contributor's username, so that I can assign the issue?
Author
Owner

@SnazofSnaz commented on GitHub (Nov 11, 2024):

Hi, sorry I don't have that information - I hope they will respond when they see this thread, will inform to if not at first meeting.

<!-- gh-comment-id:2467948785 --> @SnazofSnaz commented on GitHub (Nov 11, 2024): Hi, sorry I don't have that information - I hope they will respond when they see this thread, will inform to if not at first meeting.
Author
Owner

@mikeng07 commented on GitHub (Nov 11, 2024):

Hi there, It's Mike here. Thanks @SnazofSnaz

<!-- gh-comment-id:2469091775 --> @mikeng07 commented on GitHub (Nov 11, 2024): Hi there, It's Mike here. Thanks @SnazofSnaz
Author
Owner

@Nicktochme commented on GitHub (Nov 12, 2024):

Hello, this is Nick one of the other people to be assigned.

<!-- gh-comment-id:2469553976 --> @Nicktochme commented on GitHub (Nov 12, 2024): Hello, this is Nick one of the other people to be assigned.
Author
Owner

@larsswenson commented on GitHub (Jan 27, 2025):

I'm working on this

<!-- gh-comment-id:2616824968 --> @larsswenson commented on GitHub (Jan 27, 2025): I'm working on this
Author
Owner

@TVW96 commented on GitHub (Jan 31, 2025):

Helping out on this project, as well. Will be reviewing and fixing failed unit test with assistance from some main developers here as needed.

<!-- gh-comment-id:2626479034 --> @TVW96 commented on GitHub (Jan 31, 2025): Helping out on this project, as well. Will be reviewing and fixing failed unit test with assistance from some main developers here as needed.
Author
Owner

@TVW96 commented on GitHub (Feb 2, 2025):

@jamesgeorge007 @SanskritiHarmukh Anyone willing to meet with me and discuss this issue?

<!-- gh-comment-id:2629506102 --> @TVW96 commented on GitHub (Feb 2, 2025): @jamesgeorge007 @SanskritiHarmukh Anyone willing to meet with me and discuss this issue?
Author
Owner

@jamesgeorge007 commented on GitHub (Feb 4, 2025):

Hi @TVW96, there is already a PR up on this front. Were you collaborating on the CodeDay partnership program?

<!-- gh-comment-id:2633016566 --> @jamesgeorge007 commented on GitHub (Feb 4, 2025): Hi @TVW96, there is already a [PR](https://github.com/hoppscotch/hoppscotch/pull/4657) up on this front. Were you collaborating on the `CodeDay` partnership program?
Author
Owner

@TVW96 commented on GitHub (Jun 26, 2025):

@jamesgeorge007 I am or was but had issues with loading the project in my local which I solved after posting about it in the discussion board.

Would it be possible for me to continue working on this issue?

<!-- gh-comment-id:3006956562 --> @TVW96 commented on GitHub (Jun 26, 2025): @jamesgeorge007 I am or was but had issues with loading the project in my local which I solved after posting about it in the discussion board. Would it be possible for me to continue working on this issue?
Author
Owner

@kspoojith commented on GitHub (Jun 26, 2025):

Hi! I'm new to open-source and would love to work on this issue. Could you please assign it to me?

<!-- gh-comment-id:3007416101 --> @kspoojith commented on GitHub (Jun 26, 2025): Hi! I'm new to open-source and would love to work on this issue. Could you please assign it to me?
Author
Owner

@mikeng07 commented on GitHub (Jun 26, 2025):

Hi @jamesgeorge007, we previously worked on this issue but could not complete it. Can I try it again?
Hi @TVW96 , can I join with you ?

<!-- gh-comment-id:3010269269 --> @mikeng07 commented on GitHub (Jun 26, 2025): Hi @jamesgeorge007, we previously worked on this issue but could not complete it. Can I try it again? Hi @TVW96 , can I join with you ?
Author
Owner

@ManishPrakkash commented on GitHub (Jul 26, 2025):

Hellow guys,
Iam intrested to work on this can you assign this to me.👾

<!-- gh-comment-id:3121431649 --> @ManishPrakkash commented on GitHub (Jul 26, 2025): Hellow guys, Iam intrested to work on this can you assign this to me.👾
Author
Owner

@ugec67 commented on GitHub (Jul 28, 2025):

Hi! I'd love to work on this issue . Let me know if it's available. Thanks!

<!-- gh-comment-id:3128147924 --> @ugec67 commented on GitHub (Jul 28, 2025): Hi! I'd love to work on this issue . Let me know if it's available. Thanks!
Author
Owner

@RajaVarmaGVSSR commented on GitHub (Sep 30, 2025):

Hi, I'd love to help with this issue if it's still available.

<!-- gh-comment-id:3351302763 --> @RajaVarmaGVSSR commented on GitHub (Sep 30, 2025): Hi, I'd love to help with this issue if it's still available.
Author
Owner

@makandcheezy commented on GitHub (Jan 28, 2026):

I'd love to work on this if still available!

<!-- gh-comment-id:3808276706 --> @makandcheezy commented on GitHub (Jan 28, 2026): I'd love to work on this if still available!
Author
Owner

@VishwaVikas2006 commented on GitHub (Mar 12, 2026):

Hi, I would like to work on this issue.

<!-- gh-comment-id:4044211308 --> @VishwaVikas2006 commented on GitHub (Mar 12, 2026): Hi, I would like to work on this issue.
Author
Owner

@raahthor commented on GitHub (Mar 12, 2026):

Hey, I would like to work on this issue.

<!-- gh-comment-id:4045714323 --> @raahthor commented on GitHub (Mar 12, 2026): Hey, I would like to work on this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1485
No description provided.