Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top