Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Add oscalkit-test #31

Merged
merged 1 commit into from
Jan 3, 2019

Conversation

farhankamalkhan-10p
Copy link
Contributor

Signed-off-by: farhankamalkhan farhankamalkhan@gmail.com

oscalkit-test/methods.go Outdated Show resolved Hide resolved
oscalkit-test/methods.go Outdated Show resolved Hide resolved
oscalkit-test/methods.go Outdated Show resolved Hide resolved
oscalkit-test/methods.go Outdated Show resolved Hide resolved
Copy link
Contributor

@anweiss anweiss left a comment

Choose a reason for hiding this comment

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

Instead of a directory called oscalkit-test, let's simply call it test.

oscalkit-test/TestCases.go Outdated Show resolved Hide resolved
oscalkit-test/TestCases.go Outdated Show resolved Hide resolved
oscalkit-test/TestCases.go Outdated Show resolved Hide resolved
oscalkit-test/methods.go Outdated Show resolved Hide resolved
@farhankamalkhan-10p
Copy link
Contributor Author

@anweiss @mohuk The changes requested have been made.

@farhankamalkhan-10p
Copy link
Contributor Author

@anweiss Just as a clarification, we are using github.com/fatih/color to display the test result in green or red in case the test passes or fails respectively, currently the user will have to go get the dependency and this is mentioned in the readme file. Is this approach correct or should we add it to vendor?

@anweiss
Copy link
Contributor

anweiss commented Jan 2, 2019

@farhan-khan30 please vendor the deps

@anweiss
Copy link
Contributor

anweiss commented Jan 2, 2019

@farhan-khan30 also bear in mind that https://github.com/fatih/color was recently archived and is no longer maintained.

@anweiss anweiss added the test Unit, functional and end-to-end testing label Jan 2, 2019
@anweiss anweiss added this to the OSCAL 1.0 milestone Jan 2, 2019
anweiss
anweiss previously approved these changes Jan 2, 2019
@mohuk
Copy link
Contributor

mohuk commented Jan 3, 2019

Although https://github.com/fatih/color is archived, but it looks to be in fairly good shape. We can continue with this for now. If it breaks on any major update in Go, we'd fork, fix whats required and switch to our fork in the deps.

Signed-off-by: farhankamalkhan <farhankamalkhan@gmail.com>
@farhankamalkhan-10p
Copy link
Contributor Author

@anweiss added the deps to vendor and updated the readme.

@anweiss
Copy link
Contributor

anweiss commented Jan 3, 2019

LGTM.

Copy link
Contributor

@anweiss anweiss left a comment

Choose a reason for hiding this comment

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

LGTM

@anweiss anweiss merged commit dc65f31 into docker-archive:master Jan 3, 2019
asadullah-yousuf-10p pushed a commit to asadullah-yousuf-10p/oscalkit that referenced this pull request Jan 9, 2019
Signed-off-by: farhankamalkhan <farhankamalkhan@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
test Unit, functional and end-to-end testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants