Skip to content

shup test cases

michaelkain edited this page Aug 1, 2024 · 14 revisions

The below test cases apply for each new release of ShanoirUploader.

We start with profile OFSEP as most distributed usage.

The tests should be done with all different roles: user, expert, admin. The priority is on the user role, as this role is the most frequent role of the ShanoirUploader users, so please test at first with role user.

It is important for ShanoirUploader to detect existing subjects automatically for the profile OFSEP. For the profile Neurinfo a subject proposal is made, but the user can still change this proposal. Two different hash functions are used depending on the profile. The same applies for existing exams: If an exam with the same date for the same subject exists already, the new series should be added to the existing exam.

Test cases (template), new subject

No. Name Steps Result Comment
1. Profile OFSEP, Import from PACS - single-exam download and import new subject see below ? ?
2. Profile OFSEP, Import from PACS - multi-exam download and import new subject see below ? ?
3. Profile OFSEP, Import from PACS - mass import Excel new subjects see below ? ?
4. Profile OFSEP, Import from disk - single-exam copy and import new subject see below ? ?
5. Profile OFSEP, Import from disk - multi-exam copy and import new subject see below ? ?
6. Profile OFSEP, Import from disk - mass import Folder new subjects see below ? ?
7. Profile Neurinfo/dev, Import from PACS - single-exam download and import new subject see below ? ?
8. Profile Neurinfo/dev, Import from PACS - multi-exam download and import new subject see below ? ?
9. Profile Neurinfo/dev, Import from PACS - mass import Excel new subjects see below ? ?
10. Profile Neurinfo/dev, Import from disk - single-exam copy and import new subject see below ? ?
11. Profile Neurinfo/dev, Import from disk - multi-exam copy and import new subject see below ? ?
12. Profile Neurinfo/dev, Import from disk - mass import Folder new subjects see below ? ?

Test cases (template), existing subject

No. Name Steps Result Comment
13. Profile OFSEP, Import from PACS - single-exam download and import existing subject see below ? ?
14. Profile OFSEP, Import from PACS - multi-exam download and import existing subject see below ? ?
15. Profile OFSEP, Import from PACS - mass import Excel existing subjects see below ? ?
16. Profile OFSEP, Import from disk - single-exam copy and import existing subject see below ? ?
17. Profile OFSEP, Import from disk - multi-exam copy and import existing subject see below ? ?
18. Profile OFSEP, Import from disk - mass import Folder existing subjects see below ? ?
19. Profile Neurinfo/dev, Import from PACS - single-exam download and import existing subject see below ? ?
20. Profile Neurinfo/dev, Import from PACS - multi-exam download and import existing subject see below ? ?
21. Profile Neurinfo/dev, Import from PACS - mass import Excel existing subjects see below ? ?
22. Profile Neurinfo/dev, Import from disk - single-exam copy and import existing subject see below ? ?
23. Profile Neurinfo/dev, Import from disk - multi-exam copy and import existing subject see below ? ?
24. Profile Neurinfo/dev, Import from disk - mass import Folder existing subjects see below ? ?

Test cases for OFSEP: find-by-hash

5 test cases: profile OFSEP, adapt dev profile for OFSEP

  1. new subject not existing with hash in entire database test: OK, new subject created, new exam
  2. subject exists with hash in study-no-access test: OK, new subject created, new exam
  3. subject existing with hash in another accessible study test: OK, existing subject used, new exam created in other study
  4. subject existing with hash in importing study, new exam test: OK, existing subject used, new exam created in same study
  5. subject existing with hash in importing study, existing exam test: OK, existing subject used, existing exam used, double amount of series

Test cases for Neurinfo: user decides and names subjects

4 test cases: profile Neurinfo, user decides

  1. new subject not existing with hash in entire database test: OK, new subject created, new exam
  2. subject exists with hash in study-no-access test: OK, new subject created, new exam test: OK, new subject created, new exam
  3. subject existing with hash in another accessible study test: OK, existing subject used, new exam created in other study test: OK, as user wishes
  4. subject existing with hash in importing study, existing exam test: OK, existing subject used, existing exam used, double amount of series test: OK, even tested with multiple-exams

Test steps, by test case

Test case 1. - Profile OFSEP, Import from PACS - single-exam download and import

  • Select profile OFSEP
  • Login to server with user name
  • Query PACS with patient name + study date
  • Select entire exam for download
  • Verify in import tab if downloaded and READY state
  • Import into server: create new subject + new exam
  • Verify data on server: can download all series?

Test case 3. - Profile OFSEP, Import from PACS - mass import Excel new subjects

  • Select profile OFSEP
  • Login to server with user name
  • Select mass import from Excel
  • Open Excel file with at least 2 subjects and 1 exam each in PACS
  • Run import and verify, that both 2 new subjects have been created with the correct exam
  • Verify if download works
Clone this wiki locally