You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome if these tools were provided as traits rather than a class to extend. We have an existing extended TestCase, so I can't use this out of the box and will need to roll my own trait.
Obviously not a big deal, just a suggestion.
The text was updated successfully, but these errors were encountered:
Excellent theme you bring here. Well, my first idea was to create a trait, however the code depends on the the assertTrue existing in the TestCase class. It is strange have a code not contained itself. So it is open to discussion and pointing alternatives.
It could be based on an interface that is added to a TestCase class that requires implementation of the trait methods AND assertTrue. Then all requirements are enforced. It’s at least more flexible than an inheritance class.
It would be awesome if these tools were provided as traits rather than a class to extend. We have an existing extended TestCase, so I can't use this out of the box and will need to roll my own trait.
Obviously not a big deal, just a suggestion.
The text was updated successfully, but these errors were encountered: