# from chromatic
# on Friday 17 August 2007 01:57 pm:

>On Friday 17 August 2007 13:20:39 Eric Wilhelm wrote:
>> "my project cannot use recursive tests *and* have author-only tests
>> in t/author without jumping through hoops."

>How are you getting recursive tests by default anywhere?

I'm not getting them by default.  I'm *using* the recursive 
functionality for my test suite.  I cannot use t/author and 
t/normal_stuff without filtering-out "t/author".  I don't want to have 
to filter-out t/author and t/gui and t/network and t/account.

I want it to be convenient to run
  "all of the normal tests" and
  "all of the extra tests" and
  "a few profiles from the extra tests" and
  "all of the tests"

I want it to be convenient with `./Build` and `make` and `prove` and 
`runtests`.

  prove -rb t
  prove -rb xt
  prove -rb xt/author xt/network xt/gui
  prove -rb t xt

>I just temporarily changed the Build.PL for Test::MockObject (which
> stores author-only tests in t/developer/) not to filter out that
> directory in the find_test_files() files method, and the developer
> tests still didn't run.

Now set 'recursive_test_files => 1' (like I do) and try it.  Then run 
`prove -rb t` and `runtests -rb t`.

--Eric
-- 
"...the bourgeoisie were hated from both ends: by the proles, because
they had all the money, and by the intelligentsia, because of their
tendency to spend it on lawn ornaments."
--Neal Stephenson
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to