[
https://issues.apache.org/jira/browse/CLEREZZA-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrico Daga resolved CLEREZZA-895.
----------------------------------
Resolution: Fixed
> Virtuoso: improve method for conditional tests
> ----------------------------------------------
>
> Key: CLEREZZA-895
> URL: https://issues.apache.org/jira/browse/CLEREZZA-895
> Project: Clerezza
> Issue Type: Bug
> Components: storage
> Reporter: Enrico Daga
> Assignee: Enrico Daga
> Priority: Minor
>
> 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)