From 254a2215fb72c5f039a9a35c92e5336e6bacad1d Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Mon, 4 Aug 2014 14:59:13 +0400 Subject: [PATCH] Group tests by class It guarantees that all tests inside the test class will be executed in sigle thread. It makes us able to group some tests that uses same external resource into one tests execution thread to avoid races. Example: tests that are use external MySQL/PostgreSQL. Change-Id: I67f10d20ea84caa9335f909fb5f30da4b4e7f1ca --- .testr.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.testr.conf b/.testr.conf index 4da4d7db..077512e8 100755 --- a/.testr.conf +++ b/.testr.conf @@ -5,3 +5,4 @@ test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ ${PYTHON:-python} -m subunit.run discover $DISCOVER_DIRECTORY $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list +group_regex=([^\.]+\.)+