Skip to content

[Vmware/NGC] Junit integration test for device repository service#339

Open
NajmudheenCT wants to merge 7 commits intosodafoundation:developmentfrom
NajmudheenCT:QIP_NGC
Open

[Vmware/NGC] Junit integration test for device repository service#339
NajmudheenCT wants to merge 7 commits intosodafoundation:developmentfrom
NajmudheenCT:QIP_NGC

Conversation

@NajmudheenCT
Copy link
Member

@NajmudheenCT NajmudheenCT commented Jan 28, 2020

What this PR does / why we need it:
As of now there is no test functions in Plugin. This is the first set of Junits added for NGC-Plugin project. DeviceServiceImpl class is picked first and added on IT for this.
Which issue this PR fixes
NA
Special notes for your reviewer:
This is an IT which needs a config file to be updated in test/resources folder.
Testing note:
Test has been run from both eclipse and terminal. Coverage report is captured from eclipse.
coverage_ngc

Copy link
Collaborator

@kumarashit kumarashit left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@skdwriting skdwriting left a comment

Choose a reason for hiding this comment

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

Also there are some merge conflicts. Kindly handle it.

<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
Copy link
Collaborator

Choose a reason for hiding this comment

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

junit repeated?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it was merge from previos PR. Removed now.

<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you please check all the dependencies with right versions are added only once and correct. Thanks.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, Maven will download all depended jars. The versions now we specified are compatable. I hae tested this by building on different machine.

Copy link
Member

@asifdxtreme asifdxtreme left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants