I know that, in test automation, we have to <a href="https://stackoverflow.com/questions/5215285/how-to-pre-define-the-running-sequences-of-junit-test-cases" target="_blank">avoid sequential test-cases</a>.So, the order of running the test-cases are not important.
I know that, in test automation, we have to avoid sequential test-cases.So, the order of running the test-cases are not important.
I believe in some cases the sequential test-cases is unavoidable:
1.Consider a scenario which a user needs to take some previous steps in order to complete a final goal. For example, a user needs to be logged in, so that he can purchase.
Given User is logged in When User adds an item into its basket And User Complete his purchase Then He receives an Email
So, in above scenario, each part (
Then) are seperate testcases. But still the order of testcase is crucial.
2.Also, Junit team provides a method called
@FixMethodOrder(MethodSorters.NAME_ASCENDING) for such usage, but i am not sure when we are allowed to use this?
So, how do you write independent test-cases in end-2-end testing?
Android projects with source code - Work on real-time android projects. We’ll start project ideas from beginners level and later move to advance projects.
Implement Android Menu in your application - Provide functionality to your application and make it user friendly. Also, Learn its types and implementation.
Learn how to start android development in android studio. This is a very simple android project & doesn't need to do much coding
Android Telephony - What is Android telephony, architecture of telephony in Android, Implementation of TelephonyManager in Android
Android security - Learn what is security in Android, how to make your Android devices secure, what are security patches and how are they important.