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)