Normally I run my tests from the shell, so I focused on that use-case. I do think a bit that it would be cool to have a way to run the tests selectively from the julia REPL, but haven't put much time into thinking about the best way. Feel free to file an issue with some suggestions (or even better a PR) ;)
Then from a user's perspective it might be as easy as: ``` julia> using TestSetExtensions julia> @includetests MyModule Set1 ``` Though it would need to set `Base.ARGS` and then include `runtests.jl`so that any setup gets done, and also would only work if the tests were written using the `@includetests` macro. -s On Mon, Oct 31, 2016, at 08:54 PM, mmus wrote: > My biggest problem with Base.Test is that you can't individually > select which testsets you want to run > i.e. Pkg.test("MyModule","Set1") > which makes testing really annoying. > > This package addresses this issue (albeit a little differently) > > I do believe having a more featured Base.Test with a few more > batteries included is an overall boon. > > > On Monday, October 31, 2016 at 12:25:47 PM UTC-4, Spencer > Russell wrote: >> I'm not planning on merging this functionality into Base.Test. I >> think it's nice to keep Base.Test pretty minimal but extensible, and >> then have extra functionality provided via packages so they're easier >> for the community to iterate on and contribute to. >> >> -s >> >> >> On Mon, Oct 31, 2016, at 02:17 AM, mmus wrote: >>> Will these improvements make into Base.Test ? >>> >>> On Monday, October 31, 2016 at 12:53:37 AM UTC-4, Spencer Russell >>> wrote: >>>> I think in general the culture in the Julia community is very pro- >>>> testing, which I really appreciate. I saw your post recently about >>>> PyTest, but I’m generally pretty happy with the built-in `@testset` >>>> / `@test` system, and just wanted some lightweight convenience >>>> functionality that wouldn’t require people to restructure their >>>> existing tests. >>>> >>>> -s >>>> >>>> >>>>> On Oct 29, 2016, at 4:30 AM, pdo...@gmail.com wrote: >>>>> >>>>> Hey Spencer, >>>>> >>>>> I like this! >>>>> >>>>> I have recently started a testing-related package as well, maybe >>>>> you've noticed (https://github.com/pdobacz/PyTest.jl). It seems >>>>> that both packages could work together and complement quite >>>>> seamlessly, so I'll definitely give yours a try. >>>>> >>>>> BTW, do you think there is much demand for Julia testing tools? >>