Reviewing merge request #2316: Added -random parameter to unit Qt tests

Added -random option to tests, making the test cases within a test execute in arbitrary order. Very useful for avoiding test cases being dependent on the running order.

Most other unit test frameworks have such an option, but found no way of implementing it on top of the Qt test library, so here's a merge request

Commits that would be merged:

Version 1
  • Version 1
  • 720d564
  • c741d7b
  • Added -random option to tests, making the test cases within a test execute in

Showing 720d564-c741d7b

Comments

You will need to rebase on top of master. This is a new feature, it cannot be integrated in 4.6.

→ State changed from New to Revise and resubmit

I'd rather you didn’t use QList at this point.

QTestLib should use as little as possible from Qt, since Qt is tested with QTestLib. If we break QList, we break the tests, including the QList tests.

One more detail: this is a new feature request, so please target the master branch.

→ State changed from Revise and resubmit to Rejected

Marked as closed as this in obsoleted bu MR 2318

Add a new comment:

Login or create an account to post a comment

How to apply this merge request to your repository