Skip to content
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

Test(git-browse-ci): add unit tests #1128

Closed
vanpipy opened this issue Jan 11, 2024 · 0 comments · Fixed by #1130
Closed

Test(git-browse-ci): add unit tests #1128

vanpipy opened this issue Jan 11, 2024 · 0 comments · Fixed by #1130
Assignees

Comments

@vanpipy
Copy link
Collaborator

vanpipy commented Jan 11, 2024

File

git-browse-ci

git browse-ci is that the command browses the repository of the CI page which comes from gitlab, github or bitbucket.

Testcases

  1. If the repository comes from gitlab, open a url like https://gitlab.com/<user_or_group>/<repo>/-/pipelines
  2. If the repository comes from github, open a url like https://github.com/<user_or_org>/<repo>/actions
  3. If the repository comes from bitbucket, open a url like https://bitbucket.org/<user_or_org>/<repo>/addon/pipelines/home
  4. If the OS is mac, open via command open
  5. If the OS is Git-Bash on windows, open via command start
  6. If the OS is WSL on windows, open via commnd start
  7. If the OS is linux, open via command xdg-open
  8. If the OS is unknown, open via command xdg-open

PS: it is simalir with git-browse but for different purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant