Skip to content
Browse files

Added a note about unit testing

  • Loading branch information...
1 parent 9eff728 commit 53a0572c621a6502bc5ce6f16df6c6b9f974dccf @lukeredpath committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.markdown
View
4 README.markdown
@@ -42,6 +42,10 @@ All of the work here is based on the TableModel interface that powers the Java S
This project is an exploration of that concept with the hope that it might evolve into something generally useful.
+## Further benefits: easier unit testing
+
+By implementing most of your table update logic in the TableModel, with the controller simply responding to these changes by reloading the table view one way or another, it becomes possible to unit test your table model code independently of the UITableView. The SimpleTableViewModelTest test shows how easy this is, using a mock event listener.
+
## A brief overview of the different components
The core of LRTableModel is a series of protocols which your application needs to implement. They are:

0 comments on commit 53a0572

Please sign in to comment.
Something went wrong with that request. Please try again.