-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Calling doctest directly on a file works fine:
>> doctest src/matlab/+myPackage/getVersion.m
Doctest v0.7.0+: this is Free Software without warranty, see source.
src/matlab/+myPackage/getVersion.m ...................... PASS 2/2
Summary:
PASS 2/2
1/1 targets passed, 0 without tests.
However, when being called on a parent folder doctest suddenly does not find the tests:
>> doctest src/matlab/+myPackage -nonrecursive
Doctest v0.7.0+: this is Free Software without warranty, see source.
src/matlab/+myPackage/
getVersion.m ......................................... NO TESTS
Summary:
PASS 0/0
1/1 targets passed, 1 without tests.
I'm using Matlab and the latest octave-doctest from master:
MATLAB Version: 9.7.0.1190202 (R2019b)
Operating System: Mac OS X Version: 10.14.6 Build: 18G95