Testim Documentation

Welcome to the Testim documentation. You'll find comprehensive guides to help you get started quickly, example code snippets, and tips for being more productive. You will also find details about advanced features that allow you to customize Testim to fit your environment or special testing conditions. Don't worry, we'll support you if you get stuck. Let's jump right in!

Guides    Changelog

10 rules for writing automated tests

By Oren Rubin

Our customers often ask for our guidance in building their test suites properly. Performance, ease of management and scalability were key priorities for them. We decided to share our suggestions with a broader audience.

We came up with the list while building our own test suites. Since we strongly believe in "eating our own dog food", Testim is tested using Testim. We also learned a lot from working with a variety of companies from small startups to large enterprises.

Rule 1: Prioritize
Rule 2: Reduce, Reuse, Recycle
Rule 3: Create Structured, Single-Purpose Tests
Rule 4: Tests’ Initial State Should Always be Consistent
Rule 5: Compose Complex Tests from Simple Steps
Rule 6: Add Validations in Turnover Points
Rule 7: No Sleep to Improve Stability
Rule 8: Use a Minimum Two Levels of Abstractions
Rule 9: Reduce the Occurrences of Conditions
Rule 10: Write Independent and Isolated Tests
##Click here to read the full article.

Updated 6 months ago

10 rules for writing automated tests


By Oren Rubin

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.