Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

added unit tests for helpers and encrypt_decrypt#38

Open
lkolluru05 wants to merge 8 commits into
mainfrom
lkolluru/unittests
Open

added unit tests for helpers and encrypt_decrypt#38
lkolluru05 wants to merge 8 commits into
mainfrom
lkolluru/unittests

Conversation

@lkolluru05
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@eshen1991 eshen1991 left a comment

Choose a reason for hiding this comment

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

some recommendations.

Comment thread encrypt-decrypt_test.go Outdated
Comment thread encrypt-decrypt_test.go Outdated
Comment thread encrypt-decrypt_test.go Outdated
Comment thread encrypt-decrypt_test.go Outdated
Comment thread helpers_test.go
Copy link
Copy Markdown
Collaborator

@eshen1991 eshen1991 left a comment

Choose a reason for hiding this comment

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

@lkolluru05 Can you also add a target in the Makefile for unit test and the unit test should also be included in the default target when user runs just "make"

Comment thread encrypt-decrypt.go Outdated
Comment thread encrypt-decrypt.go Outdated
Comment thread encrypt-decrypt.go Outdated
Comment thread encrypt-decrypt.go Outdated
Comment thread encrypt-decrypt.go Outdated
Comment thread encrypt-decrypt.go Outdated
Copy link
Copy Markdown
Collaborator

@eshen1991 eshen1991 left a comment

Choose a reason for hiding this comment

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

minor stuff

Comment thread encrypt-decrypt_test.go
}


func TestEncryptBytesdo(t *testing.T) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

what's "do" at the end of the func name?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

if I write tests , I am unable to run these tests, may its because its a private function , not sure

Comment thread encrypt-decrypt_test.go Outdated
Comment thread encrypt-decrypt_test.go Outdated
Comment thread handle-metadata-request_test.go Outdated
@@ -0,0 +1,105 @@
package main
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this just a place holder?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yes for now , I have to write tests and check

@eshen1991 eshen1991 changed the title added unit tests for helpers and encrypt_decrypt [NO MERGE]added unit tests for helpers and encrypt_decrypt Jan 17, 2025
@eshen1991 eshen1991 changed the title [NO MERGE]added unit tests for helpers and encrypt_decrypt added unit tests for helpers and encrypt_decrypt Jan 17, 2025
@byronwhitlock-google
Copy link
Copy Markdown
Owner

Shelving for now, do not merge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants