You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The total number of documents scanned is incorrectly reported if
Only one file is selected using FilePath option
Directories are excluded using IgnoreDirs option
To Reproduce
Steps to reproduce the behaviour:
Run with config and options FilePath: "aSingleFile"
See error tested 6951 documents - should be 1 document
Run with config and options
IgnoreDirs:
- "_print"
See error tested 6951 documents - should be 3469 documents as the rest are in the _print directory - (the _print directory is still being ignored as errors there are not reported).
(I think this latter bug is a result of Fix panic when referencing ignored directories #181 ?)
Expected behaviour
I would expect to see the number of documents which were actually tested.
Actual behaviour
Always lists the total number of documents in the documentStore using
// CountDocuments : Return number of documents in hT document storefunc (hT*HTMLTest) CountDocuments() int {
returnlen(hT.documentStore.Documents)
}
Versions
OS: Windows 10/Ubuntu 16.04.7 LTS
htmltest: 0.16.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The total number of documents scanned is incorrectly reported if
FilePath
optionIgnoreDirs
optionTo Reproduce
Steps to reproduce the behaviour:
Run with config and options
FilePath: "aSingleFile"
See error
tested 6951 documents
- should be 1 documentRun with config and options
tested 6951 documents
- should be 3469 documents as the rest are in the_print
directory - (the_print
directory is still being ignored as errors there are not reported).(I think this latter bug is a result of Fix panic when referencing ignored directories #181 ?)
Expected behaviour
I would expect to see the number of documents which were actually tested.
Actual behaviour
Always lists the total number of documents in the documentStore using
Versions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: