« Previous - Version 2/16 (diff) - Next » - Current version
larry shi, 02/23/2012 01:57 am


Testsuit Name Basic Fossology functionality Estimated run time 2h Note

CreateFolderTest.php

DeleteFolderTest.php

editFolderDescriptionOnlyTest.php

editFolderNameOnlyTest.php

editFolderTest.php

moveFolderTest.php

The tests above are tested in http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks/#OrgFoldersMenuTest-Createphp and http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks/#OrgFoldersMenuTest-Editphp

DupFolderTest.php

Purpose test if can create 2 diff folders under one folder
Dependencies install fossology sucessfully
Step Action Expected Results
1. click on [Organize]-->[Folders]-->[Create] menu to create one folder 'test_dup' under 'Software Repository' folder, set the folder description as 'test dup description'; click on 'Create!' link click on [Browse] menu you shoud see the 'test_dup' folder under 'Software Repository' folder
2. click on [Organize]-->[Folders]-->[Create] menu to create one folder 'test_dup' under 'Software Repository' folder, set the folder description as 'test dup description 2nd'; click on 'Create!' link you will get one error msng say 'Folder test_dup Exists'; click on [Browse] menu you shoud can not see the 2 'test_dup' folders under 'Software Repository' folder
3. click on [Upload]-->[From File] menu to the 'upload from file' page; selec the storing folder as 'test_dup', select one file from local, set the description for this upload as 'dup upload des', set viewable name for this upload as dup_upload'; click on the link 'Upload' you will get the notice msg on the top of this page, the msg looks like 'The file upload des has been uploaded. It is upload #upload_id. '
4. check all the jobs for this upload sucessful, how to check you can refer to http://www.fossology.org/projects/fossology/wiki/Cluster_Test_Cases#Cluster-functional-tests all the jobs are completed sucessfully
5. repleat the step 3(upload the same file, and do the same setting) you will get the notice msg on the top of this page, the msg looks like 'The file upload des has been uploaded. It is upload #upload_id_last+1. '
6. repeat step 4 to check if all the jobs are completed sucessfully all the jobs are completed sucessfully
7. click on menu [Browse] to the Browse page you will get 2 duplicate upload under 'test_dup' folder

moveUploadTest.php

upload properties

upload removal

The tests above are tested in http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks#OrgUploadsMenuTest-Deletephp

UploadFileTest.php

UploadUrlTest.php

uploadSrvFileTest.php

UploadSrvArchiveTest.php

uploadSrvDirTest.php

The tests above are tested in http://www.fossology.org/projects/fossology/wiki/20-specific_Test_Suite#Functionality

addUserTest.php

The test above is tested in http://www.fossology.org/projects/fossology/wiki/Common_UI_Test_Cases#plugin_disable