apjanke / octave-testify

New BIST (Built-In Self Test) functions for GNU Octave
GNU General Public License v3.0
4 stars 2 forks source link

Make dependency on doctest optional? #65

Closed mtmiller closed 5 years ago

mtmiller commented 5 years ago

How would you feel about dropping the Depends: doctest and making it an optional dependency? It's only used as an option, could be detected at runtime and raise an error if the function isn't found.

apjanke commented 5 years ago

I think that's fine.

We could demote the Depends: to a Suggested: to still indicate the relationship but not actually require it, right?

apjanke commented 5 years ago

Done in https://github.com/apjanke/octave-testify/commit/0452aa33e9608e6e75f83178ff61a3743da574c8.