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

http://diffkit.googlecode.com/ · Plain Text · 26 lines · 22 code · 4 blank · 0 comment · 0 complexity · 5ea922ce66cc839a09785e02f2545622 MD5 · raw file

  1. test8 README
  2. =========
  3. Description
  4. ----------
  5. Compare two DB tables using the most automatic default provided by the MagicPlan. Only the two table names
  6. and the ConnectionInfo are provided in the plan file. Everything else is figured out by MagicPlan.
  7. Assumptions
  8. -----------
  9. - lhs & rhs are DB tables
  10. - lhs vs. rhs has both row and column diffs
  11. - plan file supplies lhs table name and rhs table name
  12. - plan file supplies ConnectionInfo to H2 DB
  13. - lhs and rhs tables have identical structure
  14. - MagicPlan reverse engineers TableModels from the database
  15. - MagicPlan generates default TableComparison by aligning lhs column to rhs column based on name
  16. - MagicPlan uses EqualsDiffor across the board
  17. - MagicPlan defaults to looking for ROW and COLUMN type Diffs
  18. - MagicPlan sets max diffs to Long.MAX
  19. Expectations
  20. -----------
  21. - 2 column diffs
  22. - 4 row diffs