/tst/org/diffkit/diff/testcase/test33.README.txt

http://diffkit.googlecode.com/ · Plain Text · 30 lines · 26 code · 4 blank · 0 comment · 0 complexity · 99606e08b7225ff1877b9888fc12beec MD5 · raw file

  1. test33 README
  2. =========
  3. Description
  4. ----------
  5. Compare SpreadSheet tables using a MagicPlan. Sheet name is not specified, so
  6. that the first sheet is used by default. No key is specified in the plan, so
  7. ROW_NUM will be used. Demonstrates how ROW_DIFFs are reported when using ROW_NUM
  8. as the key. Demonstrates use of header row (hasHeader -> true).
  9. Exercises several different data types. This test is same as test31, except that
  10. it is specified using a MagicPlan instead of the PassthroughPlan used in test31.
  11. Assumptions
  12. -----------
  13. - lhs & rhs are SpreadSheet FILE tables
  14. - MagicPlan supplies lhs and rhs spreadsheet file paths
  15. - MagicPlan supplies file path for Sink
  16. - lhs and rhs tables have identical structure
  17. - No key is specified in the MagicPlan, so ROW_NUM should be used
  18. - MagicPlan specifies that a header row is present, so will identify diffs
  19. using column names from header, instead of default Excel column name (A,B,C....).
  20. Expectations
  21. -----------
  22. - 1 ROW_DIFF, becuase ROW_NUM is used for alignment and only ROW_NUM=7 is
  23. different between the two side
  24. - 32 COLUMN_DIFFs. All columns must be different in the rows where one side is blank
  25. and the other side isn't (ROW_NUM= 2,3,6 = 3 rows * 8 columns = 24 ROW_DIFFs).
  26. All columns explicitly set to different values in ROW_NUM = 5 in order to exercise each column.