> For the complete documentation index, see [llms.txt](https://testinium.gitbook.io/enterprise-test-automation-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://testinium.gitbook.io/enterprise-test-automation-docs/selenium4-sample-project/selenium4-gauge/spec-file.md).

# Spec File

### Gauge Specification Files (.spec)

Specification (.spec) files define test scenarios in a readable, business-oriented format.

They describe:

* What is being tested
* Which steps are executed
* The expected behavior of the application

Specification files are written using plain text and are easily understandable by both technical and non-technical stakeholders.

\
Purpose of Spec Files

* Define end-to-end test scenarios
* Act as living documentation
* Serve as the main entry point for test execution
