Skip to content

Best Practices

Rajendra Prasad Reddy Penumalli edited this page Mar 21, 2020 · 5 revisions

Best Practices

  1. Generating Unique Data Automatically/On the fly
  2. Creating script that run across environments(Separating and loading data from command line arguments)
  3. Following Coding Conventions
  4. Remove Hard Coded Data and Drive from parameters
  5. Enforcing SLA assertions
  6. Creating Suite that can run in Sanity/Regression Modes
  7. Mock Dependencies
  8. Create Suites to Run on Multiple Environments (dev,qa,stg,prod)
  9. Assertions with user friendly error messages
  10. Option to run in headlessmode
  11. Using fixtures (setup(), teardown()) from a base test.

References:

Clone this wiki locally