How to Unit Test a XAF application
- How to write lightweight unit tests for XAF Actions, Controllers and other custom UI logic
- How to unit test Action’s enabled/disabled state based on user permissions
- How to unit test whether object property changes via Actions were successfully committed
- How to unit test object queries by criteria and Detail View creation
- How to unit test event handlers in Controllers
- How to unit test New Action’s custom business logic based on parent and nested Views
- How to unit test Action’s enabled/disabled state based on target criteria and selection dependency types in List View
- How to unit test Action’s enabled/disabled state based on target criteria and selection dependency types in Detail View
- How to unit test localized strings from CaptionHelper (Approach 1)
- How to unit test localized strings from CaptionHelper (Approach 2)
- How to unit test custom logic in XAF/XPO business classes