Return-Path: X-Original-To: apmail-clerezza-dev-archive@www.apache.org Delivered-To: apmail-clerezza-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54C251066C for ; Sun, 16 Mar 2014 17:49:55 +0000 (UTC) Received: (qmail 30297 invoked by uid 500); 16 Mar 2014 17:49:48 -0000 Delivered-To: apmail-clerezza-dev-archive@clerezza.apache.org Received: (qmail 30154 invoked by uid 500); 16 Mar 2014 17:49:46 -0000 Mailing-List: contact dev-help@clerezza.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@clerezza.apache.org Delivered-To: mailing list dev@clerezza.apache.org Received: (qmail 30123 invoked by uid 500); 16 Mar 2014 17:49:45 -0000 Delivered-To: apmail-incubator-clerezza-dev@incubator.apache.org Received: (qmail 30115 invoked by uid 99); 16 Mar 2014 17:49:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2014 17:49:45 +0000 Date: Sun, 16 Mar 2014 17:49:45 +0000 (UTC) From: "Enrico Daga (JIRA)" To: clerezza-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLEREZZA-895) Virtuoso: improve method for conditional tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Enrico Daga created CLEREZZA-895: ------------------------------------ Summary: Virtuoso: improve method for conditional tests Key: CLEREZZA-895 URL: https://issues.apache.org/jira/browse/CLEREZZA-895 Project: Clerezza Issue Type: Bug Environment: Tests should be executed only if the user has a Virtuoso database instance running to point the tests to. For this reason the system variable virtuoso.test is inspected. However the way it is done is a bit ugly and verbose, but particularly the tests are reported as being executed successfully, while they have been simply skipped. There is a way of skipping tests in JUnit if there is no sufficient runtime information. I have seen this, for example: http://stackoverflow.com/questions/1689242/conditionally-ignoring-tests-in-junit-4http://stackoverflow.com/questions/1689242/conditionally-ignoring-tests-in-junit-4 Reporter: Enrico Daga -- This message was sent by Atlassian JIRA (v6.2#6252)