gbenatti / Pulsar.Testing

A set of Boo macros to make easy working with NUnit

This URL has Read+Write access

README
A simple wrapper to NUnit.

It adds a set of macros and extensions that make working with NUnit and Boo a little simpler.

An example:

fixture "Person":
  testing "Should have a name":
    Person().Name.Should.Be.Null()
    Person(Name: "Pulsar").Should.StartWith("P")
    
  testing "Should have an age":
    Person().Age.Should.Be == 0
    Person(Age: 100).Age.Should.Be > 99

  testing "Should have at least one address":
    georges = Person.LoadByName("Georges")
    georges.Address.Should.Have.Length > 0 
  
TODO:

- Break ShouldMatcher in various files (done)
- Write better tests for ShouldMatcher (done)
- Fix Should_ for reference types (Need that the Property Extension problem be solved in Boo first)
- Implement ReferenceShould methods KindOf and InstanceOf (done)
- Implement Numeric Comparators (done - removed for now NumericShould Generic)
- Implement Double/Single Matchers (done)
- Fix Predicate problem in GenericShould (done)
- Added CollectionShould (done)