[jbosstools-issues] [JBoss JIRA] (JBDS-4089) Skip unit/ui tests not related to current platform/arch

Denis Golovin (JIRA) issues at jboss.org
Wed Oct 5 16:05:00 EDT 2016


Denis Golovin created JBDS-4089:
-----------------------------------

             Summary: 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
             Fix For: 10.2.0.AM2


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
(v6.4.11#64026)


More information about the jbosstools-issues mailing list