Try fast search NHibernate

06 February 2010

Sharp Tests Ex RC

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!!

5 comments:

  1. BE(5)?!?

    It 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!

    ReplyDelete
  2. Good point!!!
    ARRRRRRRRRRRRRGGGGGGGG!!!
    Going to reopen the issue, change the implementation, remove RC and release RC1 right now!!
    Thanks.

    ReplyDelete
  3. Thanks... fixed and released before somebody use it ;-)

    ReplyDelete
  4. Excelente libreria, hoy empiezo ha usarla, entro al mundo de los test (que chevere) y haré uso de ella con nunit

    ReplyDelete