gbenatti / Pulsar.Testing
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
.project | ||
| |
.settings/ | ||
| |
Pulsar.Testing.sln | ||
| |
Pulsar.Testing.userprefs | ||
| |
README | ||
| |
src/ |
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)

