Skip to content

CP - layers must be tested independently #313

@mpostol

Description

@mpostol

Describe the bug

The unit test for ViemModel creates MainWindowViewModel and Model so finely it is an integration test. We must use the abstract API of the Model layer to detach the ViewModel and Model for UT.

To Reproduce

NA

Expected behavior

MainWindowViewModel must refer to the Model layer implementation designed for testing purposes only.
Reuse the design pattern applied for the layered application example in InformationComputation.

Metadata

Metadata

Assignees

Labels

bugsomething is wrong and must be fixed

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions