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
Suppose there are *.hs files in my project that I don't want to, and that in fact couldn't, be tested. For example, it may be a pseudocode draft that doesn't yet parse. Of course, these files would not be included in the cabal package as well.
I then have to create a configuration and list these files as excluded.
However, regard it like this:
The only files that we need to test are those included in the project. Let's call them project files.
Due to the nature of doctest, the only place that can contain tests for a file is the file itself.
Therefore, we don't need to look for tests anywhere beside project files, which are (or should be) listed in cabal file. The ignore and sourceFolders configuration clauses could thus simply be inferred.
Can we make an option to infer the list of files to test from cabal package definiiton?
The text was updated successfully, but these errors were encountered:
Suppose there are
*.hs
files in my project that I don't want to, and that in fact couldn't, be tested. For example, it may be a pseudocode draft that doesn't yet parse. Of course, these files would not be included in the cabal package as well.I then have to create a configuration and list these files as excluded.
However, regard it like this:
Therefore, we don't need to look for tests anywhere beside project files, which are (or should be) listed in cabal file. The
ignore
andsourceFolders
configuration clauses could thus simply be inferred.Can we make an option to infer the list of files to test from cabal package definiiton?
The text was updated successfully, but these errors were encountered: