jplindstrom has asked for the wisdom of the Perl Monks concerning the following question:
But I just added a test that takes a bit longer. It makes SSH connections, and that's the functionality I want to test so it would be useless to mock it just to make it go quicker.
Now the tests take 29 seconds to run. That's too much.
I have this idea of putting these tests in another directory so I easily can chose which tests to run. It could be .../tt, or .../t/slow.
Thoughts?
/J
Update:
Maybe I should have mentioned: This isn't a CPAN module, it's an application at work. Hence, the SSH stuff is kind of dependent on our dev/test environment, and not many people will be installing it. In that regard, it makes sense to skip those tests by default so they aren't run in the production environment.
Thanks all!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Time consuming tests
by grinder (Bishop) on Jan 27, 2005 at 11:15 UTC | |
by thor (Priest) on Jan 27, 2005 at 12:59 UTC | |
by eyepopslikeamosquito (Archbishop) on Jan 27, 2005 at 22:20 UTC | |
|
Re: Time consuming tests
by borisz (Canon) on Jan 27, 2005 at 12:51 UTC | |
by jplindstrom (Monsignor) on Jan 27, 2005 at 13:30 UTC |