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

cmd tests implementations #286

Merged
merged 35 commits into from Feb 15, 2024
Merged

cmd tests implementations #286

merged 35 commits into from Feb 15, 2024

Conversation

Philip-21
Copy link
Contributor

This pr fixes for #7

nguyer and others added 3 commits January 11, 2024 09:06
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Philip-21 and others added 23 commits January 20, 2024 23:03
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
@Philip-21
Copy link
Contributor Author

@nguyer I have been able to create vast amount of unit tests here . This can be merged

Copy link
Contributor

@nguyer nguyer left a comment

Choose a reason for hiding this comment

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

This is great. Thank you for adding so many tests! I think we should do two things before this could be merged.

  1. Can you merge the fix-tests branch into this one? Fix tests #288
    I fixed a number of issues with the existing tests in this branch, including making them run as a part of the CI workflow (using make). I want to make sure we have all tests passing before we merge.

  2. Can you make sure that none of the tests leave a modified git tree when they are done? Right now it looks like some of the tests write a file that is not cleaned up at the end of the test. You can refer to my branch/PR for how to use t.TempDir() in tests to solve this issue

@Philip-21
Copy link
Contributor Author

Philip-21 commented Feb 14, 2024

This is great. Thank you for adding so many tests! I think we should do two things before this could be merged.

  1. Can you merge the fix-tests branch into this one? Fix tests #288
    I fixed a number of issues with the existing tests in this branch, including making them run as a part of the CI workflow (using make). I want to make sure we have all tests passing before we merge.
  2. Can you make sure that none of the tests leave a modified git tree when they are done? Right now it looks like some of the tests write a file that is not cleaned up at the end of the test. You can refer to my branch/PR for how to use t.TempDir() in tests to solve this issue

I will do all these

Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Signed-off-by: Philip-21 <philipuzomaobiora@gmail.com>
Copy link
Contributor

@nguyer nguyer left a comment

Choose a reason for hiding this comment

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

Wonderful! Thank you so much for contributing this!

@nguyer nguyer merged commit f36db31 into hyperledger:main Feb 15, 2024
12 checks passed
@Philip-21
Copy link
Contributor Author

Wonderful! Thank you so much for contributing this!

My pleasure

@Philip-21 Philip-21 deleted the cmdtests branch February 15, 2024 18:37
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.

None yet

2 participants