Nomos diff

Return to Manual Test Cases.
Return to 20-specific Test Suite.

Testcase Name Nomos diff Estimated run time 15 min
Purpose Test the nomos diff tool
Dependencies None
Step Action Expected Results
1. Login to the FOSSology UI and select "Upload". Upload two different versions of the same package or other archive and run the nomos license analysis on them both. The uploads and scans are successful.
2. From the Browse window, click Compare The File Picker page is loaded.
2a. Choose the type of comparison you wish to run; for this test choose License Difference
3. Using the clickable path (under the Browse: heading and preceded by Folder:, browse to the package you wish to compare and select an item contained therein. The Compare License Browser should come up showing a side-by-side listing of the two versions. Files that are have the same name should be on the same output line. Files with the same name that differ by a version number should also be on the same line.
4. In the filter, choose Remove nothing. The side by side should show all the files in both packages (at the given directory level)
5. In the filter, choose Remove duplicate files. The duplicate files (files with the same hash) should be removed from the display.
6. In the filter, choose Remove duplicate files with unchanged licenses. Files with the same name but the same or different hash, that did not have a license change, should be removed.
7. In the filter, choose Same as 2 but fuzzy match file names. This removes the restriction on exact name matches.
8. In the filter, choose Same as 3. but also remove files with no license. Files with no license should be removed from the previous filter output.
9. Click on a directory name, in either column, that differs only by a version number. For example, if dbus-1.2.16.tar.gz and dbus-1.2.24.tar.gz are on the same line, click on one of them. Both left and right columns should drill down to the next matching directory.
10. You should be able to continue to scroll by clicking in the left or right column and have the opposite column scroll automatically in parallel. If the columns get out of sync, click on "Freeze path" to prevent a column from scrolling while you drill down on the other.