views:

23

answers:

0

I am trying to automatically verify certain conventions, such as label/table column header text (Sentence Case, use of colons, etc).

It would be nice if there was a way in FlexUnit, or other means, to

  • Iterate over all views in the app
  • Get all titles, labels, column headers
  • Run some pattern checks and fail where needed.

Does anyone have a suggestion on what the best way would be to achieve that? I suppose I could do this on a code level on the MXML files, but it would be nicer if it could be integrated into the overall unit test suits.

Thanks for any suggestions