Closed antoyo closed 6 years ago
@Eijebong I've removed the feature which was actually useless, indeed. Also, I updated the test to show how to access the model. Do you have enough for your needs?
That failure is legit (also I have a Component in my test window so right now I can't even try this :/)
@Eijebong I added an Observer
abstraction and macros to simplify their usage that will probably be very useful for your use case.
Let me know what you think of this abstraction.
@Eijebong Here it is. What do you think?
I wonder if there's a better way to only generate code in test than having a feature. It looks very annoying to have a feature.
Issues:
#[cfg(test)]
on a variant.Foo::Bar
inobserver_wait!
.