Sharp Tests Ex 1.0.0 was released today. You can download it from here.
There are few issues fixed:
* Executing two times the Expression cause unexpected not failing Assertion
* Add EqualTo to boolean constraint
* intValue.Should().BE(5) as short-cut instead EqualTo
The SharpTestsEx’s API is now considered stable, how much ? we will use SharpTestsEx for NHibernate-Core tests as we are using it in NHibernate.Validator.
Happy testing!!
BE(5)?!?
ReplyDeleteIt seems that the following works as well (C# mystery):
public static class Extensions
{
public static void Be(this IBooleanConstraints actual, bool expected)
{
actual.Be.EqualTo(expected);
}
}
Thanks for the great library, I love it!
Good point!!!
ReplyDeleteARRRRRRRRRRRRRGGGGGGGG!!!
Going to reopen the issue, change the implementation, remove RC and release RC1 right now!!
Thanks.
Thanks... fixed and released before somebody use it ;-)
ReplyDeleteGreat! :)
ReplyDeleteExcelente libreria, hoy empiezo ha usarla, entro al mundo de los test (que chevere) y haré uso de ella con nunit
ReplyDelete