[jbosstools-issues] [JBoss JIRA] (JBDS-4089) Skip unit/ui tests not related to current platform/arch
Denis Golovin (JIRA)
issues at jboss.org
Tue Nov 29 16:15:00 EST 2016
[ https://issues.jboss.org/browse/JBDS-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Golovin resolved JBDS-4089.
---------------------------------
Assignee: Denis Golovin
Resolution: Rejected
UI and unit tests should cover all platform specific code and indicate that in test specs.
> Skip unit/ui tests not related to current platform/arch
> -------------------------------------------------------
>
> Key: JBDS-4089
> URL: https://issues.jboss.org/browse/JBDS-4089
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Task
> Components: platform-installer
> Affects Versions: 10.1.0.AM2
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Fix For: 10.2.0.GA
>
>
> Current UI tests are specific for windows. When installer supports Mac OS X there will be failures when UI tests are running on Mac. For example verification for Drive in selected path is valid only on Windows.
> this.skip() call does not work for protractor tests, because it still considered as a failure. Second option would be do not run tests that are not valid for current platform at all. That could be done ether by direct check in tests like
> {code}
> if(process.platform === 'win32') {
> it('test desctription', function(){
> // test instructions
> });
> }
> {code}
> or we can move platform specific tests in files with platform specific suffix and include them using process.platform and process.arch values at gulp execution time.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list