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

http://diffkit.googlecode.com/ · Plain Text · 29 lines · 25 code · 4 blank · 0 comment · 0 complexity · dac23ecfe4276a800f3fc892affbf0bf MD5 · raw file

  1. test34 README
  2. =========
  3. Description
  4. ----------
  5. Compare SpreadSheet tables using a MagicPlan. Key is COLUMN1 instead
  6. of <ROW_NUM>, and the spreadsheets are not pre-sorted (isSorted = false), so
  7. that DiffKit has to sort them internally before diff'ng. Demonstrates leaving
  8. the sheet name blank in the plan, so that the first sheet is used by default.
  9. Demonstrates how ROW_DIFFs are generated when rows are aligned on COLUMN1,
  10. instead of ROW_NUM (e.g. Test31). Demonstrates use of header row (hasHeader ->
  11. true). Exercises several different data types. This is functionally same as
  12. test32, except that this test is specified using a MagicPlan, whereas 32 uses a
  13. PassthroughPlan.
  14. Assumptions
  15. -----------
  16. - lhs & rhs are SpreadSheet FILE tables
  17. - MagicPlan supplies lhs and rhs spreadsheet file paths
  18. - MagicPlan supplies file path for Sink
  19. - lhs and rhs tables have identical structure
  20. - No key is specified in the MagicPlan, so ROW_NUM should be used
  21. - MagicPlan specifies that a header row is present, so will identify diffs
  22. using column names from header, instead of default Excel column name (A,B,C....).
  23. Expectations
  24. -----------
  25. - 3 ROW_DIFFs