Skip to content

Unit Test coverage on Warewolf.Studio.ViewModels #38

@BarneyBuchan

Description

@BarneyBuchan

The project Warewolf.Studio.Viewmodels requires 90% Test coverage.

Create a MSTest unit test project called Warewolf.Studio.Viewmodels.Test
For ExplorerViewModel.cs

Create a corresponding MsTest Test class named ExplorerViewModelTest
Create a set of unit tests that tests the following classes up until at least 90% coverage

  •             ExplorerItemViewModel
    
  •             ExplorerViewModel
    
  •             EnvironmentViewModel
    
  •             ExplorerItemViewModel
    
  •             SingleEnvironmentExplorerViewModel
    
  •             DeploySourceExplorerViewModel
    
  •             DeployDestinationViewModel
    

Commands and methods should have 100% test Coverage.
Dependendencies must be injected and mocking should be carried out using the Moq framework.
Each class listed above must have test coverage of at least 90% by its test class and coverage must not be incidental.
All Tests in the project Warewolf.AcceptanceTesting.* must continue to pass.

WOLF-1394

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions