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

Add unit tests for bundle-audit #133

Merged
merged 2 commits into from Sep 4, 2018
Merged

Add unit tests for bundle-audit #133

merged 2 commits into from Sep 4, 2018

Conversation

serranos
Copy link
Contributor

@serranos serranos commented Aug 4, 2018

This PR intends to add some unit tests to the bundle-audit task.
It was highly influenced by tests that already exist for other tools (e.g., retirejs).

ruby

RUBY VERSION
ruby 2.3.3
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should have a project discussion about ruby versions ... I think this would effectively also bump the Ruby version ... which in theory is a good thing but just something we should probably stop and think about...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For this particular case the ruby version specification is not required since this Gemfile.lock is used only as a test vector, it should not have impact on the ruby version being used by the system.
This being said, and to make it more explicit, I can remove the references to ruby versions from the test data files referenced in this PR since they don't provide value in this case. What do you think?

P.S. This does not remove the (obviously) very good discussion you propose of bumping the Ruby version but probably that would be in a different scope.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it. Thanks. I'm approving this PR and merging.

I think we can probably bump the ruby version easily. I would like to see @omerlh's input too.

Copy link
Collaborator

@mkonda mkonda left a comment

Choose a reason for hiding this comment

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

Just to say this out loud, this is awesome to add tests. Thank you.

@mkonda mkonda merged commit b10cce3 into OWASP:master Sep 4, 2018
@serranos
Copy link
Contributor Author

serranos commented Sep 5, 2018

Tests are an awesome invention! 😉

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