Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Spaces Testing
Contents
Introduction
Run through all test cases if possible. Bugs should be reported here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Spaces
Feel free to add new test cases, or adapt and elaborate the existing test cases.
Test cases
Basic Add Space dialog
ID 4329 :: Test Case Add local space
Summary
-
Steps
- Open the spaces view
- Press Add Space Location in the view's toolbar
- Select "Local File System" provider (if not already selected)
- Enter a path with invalid characters (such as space)
- Remove illegal characters
- Make sure the path is something like "/mp/MySpace" Select "create new space"
- Press Done
Expected Results
- Spaces View opens
- The Add Space Dialog appears
- All fields except "path" should be disabled
- Field should trun yellow and a message should appear
- The field should turn white and no message should be displayed
- -
- The location should appear in the spaces view
ID 4335 :: Test Case Add Xdrive Space
Summary
You must have an xdrive account for this test
Steps
- Open Spaces view (Select Windows > Open View > Other > Spaces)
- Press Add Space
- Select Xdrive
- Enter information for the Xdrive account
- Select option to create space
Expected Results
- View opens
- Add space dialog opens
- Port and login field shoud be disabled
- Enter your xdrive account information
- Space is created and it displays in the spaces view
Publishing
ID 4338 :: Test Case Basic Publishing
Summary
As a preparatory step you need to create a plugin project in your workspace. This plugin does not have to have any special traits.
Steps
- Right click over the project
- Select Spaces > Publish
- Select space
- Select Update Site Publishing
- Add an UpdateSite suggest "MyUpdateSite"
- Press next to finish publishing
- Copy or write down this URL
Expected Results
- Context menu appears
- The spaces publishign wizard appears
- Select an xdrive space already added to catalog
- It is possible to continue the wizard
- The update site is added to the list, it can be selected and it is posible to continue in wizard
- Progress monitors appear as publishign takes place
- The URL is displayed and it can be copied to the clipboard
ID 4340 :: Test Case Advanced publishing and import
Summary
-
Steps
- Create a plugin project that depends on something that is in your target platform, but that does not come with a normal Eclipse 3.3. distribution.
- checkin the source at a publicly available source repository (you can use eclipsesvn.cloudsmith.com for testing)
- Perform publishing as described in 4338:Basic Publishing
- With an Eclipse IDE that lacts the bundle your plugin is dependent on, run the Spaces Import Wizard
- Paste the URL to the spaces update site you published to
- Select that update site bundles should be importet as source, and that all dependent non existing bundles should be stored in your workspace
- Finish the wizard
- Perform verification
Expected results
- Verify that the source projects were created and that the non installed bundles are placed in your Eclipse WS.
ID 4342 :: Test Case Add space while publishing
Summary
-
Steps
- Start publishing for a plugin project you have created.
- Instead of selecting an existing space, press button to add a space
- Add a space (local or xdrive)
- (return to wizard)
- Continue publishing in the newly added space
Expected Results
- The new space is added, it is displayed in the list, it is possible to select, and publishing can finish with the newly added space.
Spaces view
ID 4326 :: Test Case Basic Spaces View functionality
Summary
In preparation for this test, you must have installed spaces, and have added some space locations, and performed publishing.
Steps
- Open Spaces View (Select Windows > Open View > Other > Spaces)
- Drill down into all nodes
- Righ mouse click over a space to get a context menu
- Discard a location
- Add a location (same again for instance)
Expected Results
- Spaces view opens and shows a tree with two nodes - space providers and spaces - there should be a count of available providers and spaces
- Note any irregular odd behavior - there should be a pending... node when things are fetched in the background. The content should then appear.
- Context menu for a space should have
- create (disabled if space already exists)
- refresh (over a space)
- reset/new password
- discard location
- Note that it disappears from the view
- Note that the location appears when added
Exceptional behaviour
ID 4345 :: Test Case not stating password for xdrive
Summary
In preparation for this test, you need to clear/rest passwords if you have stored the previously.
Steps
- Open Spaces View and drill down into a space node that requires password
- When prompted for password, press cancel
- Press refresh over the space node that displayes "not logged in"
- Enter password (do not store it)
Expected Results
- No information from the space should be displayed. System should shown "not logged in" in the tree.
- No information from the space should be displayed. System should shown "not logged in" in the tree.
- A new prompt for password is displayed
- Tree displays information from the space
ID 4347 :: Test Case backing out of bad password
Summary
-
Steps
- In the spaces view - Clear the password for a space
- store the wrong pasword
- attempt to drill down
- reset password again and enter correct password
- drill down again
Expected Results
- A confirmation dialog appears, press ok to clear
- the wrong password is stored
- the attempt should fail with a "non logged in" node in the tree
- -
- Information from space appears in the tree