You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Enrico Daga (JIRA)" <ji...@apache.org> on 2014/03/16 18:49:45 UTC
[jira] [Created] (CLEREZZA-895) Virtuoso: improve method for
conditional tests
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)