Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

awesome-inc/Caliburn.Micro.TestingHelpers

Repository files navigation

Build status NuGet Nuget NuGet Issue Stats Coverage Status

Caliburn.Micro.TestingHelpers

The caliburn micro testing helpers are an extension to provide additional functionality for testing an WPFapp with Caliburn.Micro.

Installation

Install the package with the nuget package manager

install-package Caliburn.Micro.TestingHelpers

TestWithPlatformProvider

// this uses NEdifis creation context
var ctx = new ContextFor<DefaultSearchViewModel>();

var sut = ctx.BuildSut();

var closeCalled = false;
sut.TestWithPlatformProvider(
	platformProvider => platformProvider.CloseActionFor = (vm, views, result) => closeCalled = true,
	x => x.DoOpenSelected());

Planned

The following features are prototyped and will be implemented soon.

  • Screenshot helper - Creates screenshots based on a caliburn View/ViewModel

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published