For example, after testing the login system in one test, we can test all other features using an authentication token obtained in the first test.
Is that possible in the new FlexUnit ?
Many thanks,
Adnan
Is it possible to pass some data from a...No.
Tests are completely independent of each other. If you needed to do something like this, you could either use the before to login each time, or you could use the BeforeClass to login once and keep your token as a static property of the class.
No comments:
Post a Comment