TS 67 CNDeasyremote

(Difference between revisions)
(Easy Remote Test Specification)
 
(7 intermediate revisions not shown)
Line 1: Line 1:
==Easy Remote Test Specification ==
==Easy Remote Test Specification ==
'''Author:''' [mailto:Dmitry.Nikitin@sun.com Dmitry Nikitin] <br>
'''Author:''' [mailto:Dmitry.Nikitin@sun.com Dmitry Nikitin] <br>
-
'''Version:''' 0.1 <br>
+
'''Version:''' 0.2 <br>
-
'''Lastupdate:''' <br>
+
'''Lastupdate:''' 09/08/2013 <br>
-
'''Introduction:''' Test specification for remote development feature in CND Pack 6.7. See [[CndRemoteDevelopment70Proposal | CndRemoteDevelopment70Proposal]]<br>
+
'''Editor:''' [mailto:supunliyanage@netbeans.org Don Liyanage] <br>
 +
'''Introduction:''' Test specification for remote development feature in CND Pack 7.4. <br>
__TOC__
__TOC__
<br>
<br>
Line 9: Line 10:
Purpose: <br>
Purpose: <br>
Comment: <br>
Comment: <br>
-
Setup: Remote host with compiler collection and ssh-access. <br>
+
Setup: Remote host with GNU compiler collection and ssh access. <br>
-
Remote development requires bash to be installed at the remote host (see [[FaqCplusPlusRemoteInitializeFail | FaqCplusPlusRemoteInitializeFail]]).<br>
+
-
# {{testcase|Build a Project at a Remote Host}}
+
# {{testcase|Build a Project on a Remote Host}}
-
##New Project > Sample > C/C++ > Welcome.<br> '''NB:''' Directory where project is created have to be accessible from '''both''' hosts.
+
##Create a new project via New Project > Sample > C/C++ > Welcome. <br>  
-
##Right-click on project node and select Remote Development > Manage Hosts... from popup menu <br> {{result|Development Host Manager dialog box appears}}
+
##Right-click on project node and select Set Build Host > Manage Hosts... from popup menu <br> {{result|Build Host Manager dialog box appears}}
-
##Click Add button <br> {{result|New Remote Development Host wizard appears }}
+
##Click Add button <br> {{result|New Remote Host Setup wizard appears }}
-
##Step1 (Select Host): type remote host name (e.g. gerta) and click Next button
+
##Step1 (Select Host): type the remote host name (e.g. gerta) and click Next button <br>'''NB:''' Be sure that the host is reachable otherwise check Proxy Settings under the list of hosts. Moreover, please check the firewall settings and makesure port 22 is open and NetBeans application is allowed to access port 22<br>
-
##Step2 (Setup Host): set login and password to access selected host and click Connect <br> '''NB:''' If you get "Reply from SOCKS server has bad version" see  [[FaqCplusPlusRemoteSocketException | FaqCplusPlusRemoteSocketException]]<br>
+
 
-
  [[Image:http://wiki.netbeans.org/attach/TS_67_CNDeasyremote/Screenshot-New Remote Development Host.png]] <br>  
+
##Step2 (Setup Host): set login and choose Password or SSH Key File authentication type then press Next. If you chose Password then type the password in Authentication dialog. <br>  
-
##Step3 (Summury): Select toolchain and click Finish button <br>  
+
##Step3 (Summury): Select GNU as Default Tool Collection and choose appropriate 'Access Project Files via' (e.g. Automatic copying) then click Finish button <br>  
-
##Right-click on project node and select Remote Development to check that 'gerta' is set as a build host. Otherwise select 'gerta'.
+
##Click OK to close Build Host Manager dialog
-
##Build the project and verify that the project was built for remote platform
+
##Right-click on project node, select Set Build Host to check that 'gerta' is set as a build host. Otherwise select 'gerta'.
-
#* {{result|EXPECTED RESULT: the project should be built for remote platform}}
+
##Build the project and verify that the project was built on the remote host
 +
#* {{result|EXPECTED RESULT: the project should be built on the remote host}}
<br>
<br>

Current revision as of 09:57, 9 August 2013

Easy Remote Test Specification

Author: Dmitry Nikitin
Version: 0.2
Lastupdate: 09/08/2013
Editor: Don Liyanage
Introduction: Test specification for remote development feature in CND Pack 7.4.

Contents


Test suite: Easy Remote

Purpose:
Comment:
Setup: Remote host with GNU compiler collection and ssh access.

  1. Build a Project on a Remote Host
    1. Create a new project via New Project > Sample > C/C++ > Welcome.
    2. Right-click on project node and select Set Build Host > Manage Hosts... from popup menu
      Build Host Manager dialog box appears
    3. Click Add button
      New Remote Host Setup wizard appears
    4. Step1 (Select Host): type the remote host name (e.g. gerta) and click Next button
      NB: Be sure that the host is reachable otherwise check Proxy Settings under the list of hosts. Moreover, please check the firewall settings and makesure port 22 is open and NetBeans application is allowed to access port 22
    1. Step2 (Setup Host): set login and choose Password or SSH Key File authentication type then press Next. If you chose Password then type the password in Authentication dialog.
    2. Step3 (Summury): Select GNU as Default Tool Collection and choose appropriate 'Access Project Files via' (e.g. Automatic copying) then click Finish button
    3. Click OK to close Build Host Manager dialog
    4. Right-click on project node, select Set Build Host to check that 'gerta' is set as a build host. Otherwise select 'gerta'.
    5. Build the project and verify that the project was built on the remote host
    • EXPECTED RESULT: the project should be built on the remote host


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo