Skip to content

4.0.0

Compare
Choose a tag to compare
@chris-peterson chris-peterson released this 04 Mar 01:47

Overview

Initial release for satellite test running assemblies Kekiri.Xunit and Kekiri.Nunit.

Decouples Kekiri from underlying test runner (i.e. no more dependency on NUnit)

Changes

  • Consolidate to Fluent style (drops attribute-based Tests)
  • Add support for multiple [Scenario] inside a given : Scenarios fixture
  • IoC (Container property) is now baked into base Scenarios
  • Drop support for SimpleInjector
  • IoC providers now require bootstrapping rather than inheritance

Migration Guide

old construct new construct
[Given], [And], [But] Given(...) inside of a method decorated with [Scenario]. .And(...) and .But() are supported after Given()
[When] When(...) inside of a method decorated with [Scenario]
[Throws] .Throws(...) after When()
[Then], [And], [But] Then(...) inside of a method decorated with [Scenario]. .And(...) and .But() are supported after Given()
FluentTest Scenarios
AutofacFluentTest Scenarios. Be sure to bootstrap IoC!
[Example] (on fixture) [Example] on method decorated with [ScenarioOutline]
[Scenario(Enum, string)] (on fixture) N/A