Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add tests for projects and starter projects#360

Merged
mmulholla merged 4 commits into
devfile:masterdevfile/api:masterfrom
mmulholla:AddTestsForProjectsCopy head branch name to clipboard
Mar 4, 2021
Merged

add tests for projects and starter projects#360
mmulholla merged 4 commits into
devfile:masterdevfile/api:masterfrom
mmulholla:AddTestsForProjectsCopy head branch name to clipboard

Conversation

@mmulholla

Copy link
Copy Markdown
Contributor

Add test for projects and starter project to the new api test.
The code added will be shared with the library tests.

@johnmcollier johnmcollier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you're making a lot of calls to generate random strings and numbers. My concern is that it could make the api test results non-reproducible between runs.

Wondering also if we need to test the GitHub project type now that it's been deprecated? (#349)

Comment thread test/v200/utils/common/project_test_utils.go
Comment thread test/v200/utils/common/project_test_utils.go
Comment thread test/v200/utils/common/project_test_utils.go Outdated
@mmulholla

Copy link
Copy Markdown
Contributor Author

@johnmcollier I added an extra commit because the starter projects I was creating failed validation because they are restricted to one remote.

@maysunfaisal maysunfaisal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, follows the existing test convention.

Comment thread test/v200/utils/common/project_test_utils.go Outdated
@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: johnmcollier, maysunfaisal, mmulholla
To complete the pull request process, please assign after the PR has been reviewed.
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

@mmulholla mmulholla merged commit bfc3f50 into devfile:master Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.