cyrusimap / cassandane

Other
6 stars 11 forks source link

mechanism for skipping/enabling slow tests #80

Closed elliefm closed 5 years ago

elliefm commented 5 years ago

Make testrunner.pl skip by default any test whose name ends with _slow (and isn't explicitly named as a test to run on the command line), and add a --slow switch to override this and make it actually run them as well.

We currently have a few very slow tests, and could potentially speed up regular cassandane runs a bit if we usually skip them. We could also start adding other expensive tests, without worrying about them making cassandane too slow to use regularly.

I would still expect we run the full suite when releasing or after big merges, and run relevant tests directly for small changes that touch the areas under test.

[I'll probably just go ahead and do this, but recording it for posterity in case I get distracted and forget!]