I've gone through and fleshed out the unit tests -- this provides a few good examples of the types of "unit" tests you can write for a UI component.
Stay away from "look & feel" type stuff (that's what Galen is for), but you can certainly interact with the component by modifying properties, attributes and firing events and then assert the result.
I've gone through and fleshed out the unit tests -- this provides a few good examples of the types of "unit" tests you can write for a UI component.
Stay away from "look & feel" type stuff (that's what Galen is for), but you can certainly interact with the component by modifying properties, attributes and firing events and then assert the result.