[
https://issues.jboss.org/browse/JBIDE-11713?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-11713:
---------------------------------------------
> isn't headless by far much better and manageable test ?
Be the installation be performed through SWTBot or p2 director, they
are finally both managed by a >script.
yes but swtbot requires ui running and is slow IMO.
> why is a UI based on better ?
p2 director does not perform updates, it'a an uninstall/install
hmm - wasn't aware of that limitation. That's sad. But again leaving the raw
install to p2 directory gotta be simpler.
invoking p2 director needs pre-processing (parsing content.xml and so
on, that is complicated
eh? how come ? isn't it just p2 install "the feature we want" ?
You just need the feature names to install right ?
And you want the test to fail if that feature isn't there.
>UI based test mimic what end-users do (click on "Select
All" button), and are IMO simpler to write >>and maintain for everyone
eh - okey you are talking about "select all" ...i'm talking about controlled
verification and be sure its only testing/installing the exact features we want.
UI based tests are cheaper and are closer from real user experience.
Never seen a UI based test that is cheaper - would love to see it ;)
for me running p2director is much easier than having to run a swtbot test.
But I get that if you just want to test "does all features on this specific list of
sites install all together" then sure - thats probably easier to do.
Set up some automated tests for installation,updates...
-------------------------------------------------------
Key: JBIDE-11713
URL:
https://issues.jboss.org/browse/JBIDE-11713
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Build/Releng, QA
Reporter: Mickael Istria
Assignee: Mickael Istria
Fix For: 3.3.0.CR1
Attachments: scripts-1.0.0-SNAPSHOT-delivery.zip, sources.zip
We should set up some automated tests and jobs to verify ability to install/update/...
from the repo we produce.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira