Reputation: 1631
When I use flexunit for tests, I confused about the metadata like [Test], [Test(async, ui)], anyone knows how does the metadata parsed by the flex? how to define my own metadata
Upvotes: 0
Views: 93
Reputation: 8875
You should use [Test(async)] when you're waiting for an asynchronous event in a test method. Async tells the framework not to declare the method a success just yet, and that there is something else (an event) we need to account for to make that decision.
Upvotes: 2