-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Testt::Spec with Test2::Tools::Spec #813
Conversation
This looks cleaner than how I did it in |
Since there is now an 'at_least' slot, which should be exclusive with 'exactly', we shall always use the method `exactly`.
Thanks.
Furthermore... after your comment... when I started to rewrite more tests, I found out that |
Test2::Tools::Spec
provides most of the features implemented inTest::Spec
and is nearly a drop-in replacement.Uses of methods from
Test::Spec::Mocks
needs to be reworked, namely whenexpects
are being used.