[
https://issues.jboss.org/browse/JBIDE-23029?page=com.atlassian.jira.plugi...
]
Marián Labuda commented on JBIDE-23029:
---------------------------------------
Running single test could be sufficient while creating a new test but in the end it will
run in suite (all tests suite or smoke suite). If you want to run test individually for
some purpose, there should be created a requirement for connection AND/OR project which
would set up a connection with a project for you automatically and it would be usable with
annotation. For more reference about requirements in RedDeer see
https://github.com/jboss-reddeer/reddeer/wiki/Requirements. I suggest creating a
requirement configurable with XML file (rd.config property) and using it with some
annotation on your test class, e.g. @SetUpOpenShift. To use connection details (such as
username, server or project) it is possible to inject requirement properties/attributes
into fields in your code. And it's important to don't forget add RunWith
annotation with RedDeerSuite on top of a class, to run a test with RedDeer runner.
Integration tests: Tests should be able to run individually
-----------------------------------------------------------
Key: JBIDE-23029
URL:
https://issues.jboss.org/browse/JBIDE-23029
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: openshift
Affects Versions: 4.4.1.AM3
Reporter: Andre Dietisheim
Labels: integration_tests
Fix For: 4.4.x
We should be able to run the bot tests individually. Currently you cant because the suite
is setting up requirements (ex. ScalingTest requires a connection. The connection though
is set up in the CreateNewConnectionTest. You thus cant run ScalingTest only, you need to
copy the suite, comment all the tests that you dont need).
This is even more true since running the whole suite is a lengthy task.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)