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:46 UTC

[jira] [Assigned] (CLEREZZA-895) Virtuoso: improve method for conditional tests

     [ https://issues.apache.org/jira/browse/CLEREZZA-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enrico Daga reassigned CLEREZZA-895:
------------------------------------

    Assignee: Enrico Daga

> Virtuoso: improve method for conditional tests
> ----------------------------------------------
>
>                 Key: CLEREZZA-895
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-895
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Enrico Daga
>            Assignee: Enrico Daga
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)