[MGNLUI-4995] Write test suite for UIFrameworkView interface Created: 04/Feb/19 Updated: 17/Mar/20 Resolved: 01/Jul/19 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Aleksandr Pchelintcev | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Epic Link: | UI framework: basic features |
| Story Points: | 5 |
| Description |
|
UIFrameworkView interface is connects the views with the underlying session storages and provides the injection magic. It needs to be tested. Since it requires Vaadin UI, session etc to be in place - it might be not that trivial to write a unit test for the interface. However, there is already a test utility called StubVaadinSession, which might already provide most of the required (if not all) implementation. After we are able to bootstrap the framework views within a JUnit test - we would need to test the basic use cases like:
|
| Comments |
| Comment by Aleksandr Pchelintcev [ 01/Jul/19 ] |