FTP Basic Acceptance Tests

From Aptana Development

Contents

FTP

  • Verify that you can connect to a FTP site by creating a new FTP connection.
  • Double click on a file in the remote site. Verify it opens up in the editor. Edit it slightly and save it. Verify the file in the remote site is changed.
  • Create a new synchronize connection between a local project and the remote site. Edit a file and use Ctrl + Shift + U to upload it. Ensure the file is uploaded.
  • Create a new synchronize connection between a local folder in the file system and the remote site. Edit a file and use Ctrl + Shift + U to upload it. Ensure the file is uploaded.
  • Right-click the FTP site, select "New Folder", name the folder, and verify that it exists in the FTP site
  • Right-click the new folder, select "Properties", if the "Permissions" checkboxes are active then change some checkboxes in the "Group" and/or "All" rows and make sure all User checkboxes are on, click OK. View the folder properties again to confirm the changes took effect.
  • Right-click the new folder, select "Rename", change the name of the folder, press enter, and verify the folder name has changed
  • Right-click the new folder, select "New File", name the file with a Aptana-supported file extension (.js, for example), and verify the file exists in the folder
  • Right-click the new file, select "Properties", if the "Permissions" checkboxes are active then change some checkboxes in the "Group" and/or "All" rows and make sure all User checkboxes are on, click OK. View the file properties again to confirm the changes took effect
  • Right-click the new file, select "Rename", change the name of the file, press enter, and verify the file name has changed
  • Right-click the new file, select "Delete", select "Yes" to confirm the delete, and verify the file no longer exists
  • Right-click the new folder, select "Delete", select "Yes" to confirm the delete, verify the folder no longer exists


SFTP

  • Verify that you can connect to a SFTP site by creating a new SFTP connection.
  • Double click on a file in the remote site. Verify it opens up in the editor. Edit it slightly and save it. Verify the file in the remote site is changed.
  • Create a new synchronize connection between a local folder in the file system and the remote site. Edit a file and use Ctrl + Shift + U to upload it. Ensure the file is uploaded.
  • Right-click the FTP site, select "New Folder", name the folder, and verify that it exists in the FTP site
  • Right-click the new folder, select "Properties", if the "Permissions" checkboxes are active then change some checkboxes in the "Group" and/or "All" rows and make sure all User checkboxes are on, click OK. View the folder properties again to confirm the changes took effect.
  • Right-click the new folder, select "Rename", change the name of the folder, press enter, and verify the folder name has changed
  • Right-click the new folder, select "New File", name the file with a Aptana-supported file extension (.js, for example), and verify the file exists in the folder
  • Right-click the new file, select "Properties", if the "Permissions" checkboxes are active then change some checkboxes in the "Group" and/or "All" rows and make sure all User checkboxes are on, click OK. View the file properties again to confirm the changes took effect
  • Right-click the new file, select "Rename", change the name of the file, press enter, and verify the file name has changed
  • Right-click the new file, select "Delete", select "Yes" to confirm the delete, and verify the file no longer exists
  • Right-click the new folder, select "Delete", select "Yes" to confirm the delete, verify the folder no longer exists

Synchronization

  • Create a new SFTP site pointing at a small remote folder.
  • Choose a small local project and create a synchronize connection between the two.
  • Create some local content and some remote content. Verify that synchronize moves the content up or down appropriately.

Links