fix crash for excludedDirs#401
Open
sg3des wants to merge 3 commits intosmartystreets:masterfrom
sg3des:master
Open
fix crash for excludedDirs#401sg3des wants to merge 3 commits intosmartystreets:masterfrom sg3des:master
sg3des wants to merge 3 commits intosmartystreets:masterfrom
sg3des:master
Conversation
if run test for dir contains in excludedDirs comes crash goconvey! i added tiny function, checkExcludedDirs, which checks it. in my opinion, if the user specified directory for testing - it should be tested, regardless there is or not in the excludes...
Collaborator
|
@sg3des please add unit tests for your new function: checkExcludedDirs |
Author
|
Of course, tell me where? this (checkExcludedDirs) is internal func, must i create goconvey_test.go in root of package?.. |
Collaborator
|
@sg3des yes, please create goconvey_test.go in root of package. |
| "/go/src/package/node_modules/": "node_modules", | ||
| } | ||
|
|
||
| Convey("Exclude excluded directory for fake pathes", t, func() { |
Contributor
There was a problem hiding this comment.
`+ Convey("Exclude excluded directory for fake pathes paths", t, func() {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
if run test for dir contains in excludedDirs comes crash goconvey!
i added tiny function, checkExcludedDirs, which checks it.
in my opinion, if the user specified directory for testing - it should be tested, regardless there is or not in the excludes...