Ticket #309 (new enhancement)
tests in mixins
Reported by: | kobi7 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
can we have tests in mixins?
initializing the mixin, like a normal class, and then asserting.
I currently refer to tests in the mixin's body, not the method's body.
for example:
mixin ABC var h = 3 test p = ABC() assert p.h == 3
Change History
Note: See
TracTickets for help on using
tickets.