ark_mvp_test 1.0.0
ark_mvp_test: ^1.0.0 copied to clipboard
Explicit Presenter sessions and deadline-based output observation for Ark MVP tests.
example/README.md
Runnable feature tests #
These examples use the real Ark MVP session. Run them from the package directory:
dart test example
- Adaptation: start, explicitly build with two environments, update the Model and close. No View or Flutter is involved.
- Composed Model: combine two application states through ModelBinding, then explicitly refresh the session. Presenter determines visible text and whether the action is available.
- Effects and close: subscribe before the initial hook and reject a late async result after closing.
All successful runs report three passing tests. Expectations inspect actual ViewState or delivered effects, rather than matching printed success messages. The root English and Russian guides explain ownership, independent deadlines, cancellation and error semantics.