MuscleAssert
A unit test framework for Objective-C using computation expressions.
Proposal
What is MuscleAssert
- provide an assertion message that makes the difference more obvious.
- is not "where is it going?" But "What's different?"
Related Link
- http://bleis-tift.hatenablog.com/entry/about-power-assert
- http://pocketberserker.hatenablog.com/entry/2016/06/02/143727
- https://github.com/persimmon-projects/Persimmon.MuscleAssert
- http://bleis-tift.hatenablog.com/entry/hello-muscle-assert
Description
Installation
CocoaPods
pod 'MuscleAssert'
Usage
NSArray *left = @{
@"user": @{
@"name" : @"akuraru",
}
};
NSArray *right = @{
@"user": @{
@"name" : @"",
}
};
Result
path: .user.name.0
left: akuraru
right:
Contributing
pull-requests, issue reports and patches are always welcomed.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT