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
I don't know if using Test could be eval'd in the setup, or if this would require Test to be an actual dep of the package (usually undesireable).
I.e., I'd envision runtests.jl to include() the individual test set files, as is done with many packages. Then the workload could include() a subset of those.
I suppose I could test this idea out.
Just a thought.
The text was updated successfully, but these errors were encountered:
I have not. I always seem to have more things that I have/want to do than I seem to have time for. :-)
But TestItems.jl does seem like the best/standard way to enable something like this. It looks like maybe that is already used in many Julia packages. I wonder if @davidantoff or others already know of good examples of best practice patterns of using this. I.e. I wonder if it would then be less confusing to people to then make the decision to put all the tests inline under src. Or if it is is easy enough to keep the traditional location under the test directory.
I guess that might be what you're implying . . . Maybe testitems is used in the runtests.jl (as traditionally), but then the main package can also use this package to run certain ones (E.g. to precompile). It seems like there are also macros to share "snippits" and testitem "modules". It's just not 100% clear to me what the "right"/clean way is to do this. I.e., if a person wants to use a standard test/runntests.jl pattern, but also pluck out some of the items for precompile. I'm probably making this too complicated, in my mind. :-)
Thanks for this useful package!
It seems workloads would (should?) be redundant with things also run in the tests. Could the workload include() (certain) tests?
E.g.
I don't know if
using Test
could be eval'd in the setup, or if this would require Test to be an actual dep of the package (usually undesireable).I.e., I'd envision runtests.jl to include() the individual test set files, as is done with many packages. Then the workload could include() a subset of those.
I suppose I could test this idea out.
Just a thought.
The text was updated successfully, but these errors were encountered: