Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (64 sloc) 1.89 KB

Basil Language Documentation

Basil (Browser Automation Script Intermediary Language) is a programming language for creating web browser automation tests.

Basil defines:

  • actions to be performed to get a browser into a desired state
  • assertions to verify the browser state
  • steps, tests and test suites to arrange collections of actions and assertions
  • page models to de-couple tests from the pages being tested
  • data providers to de-couple parameterised tests from the data driving them

Goals:

  • concise when compared to equivalent WebDriver-powered code
  • human-readable, understandable by non-developers
  • transpilable to a target language for execution
.. toctree::
    :caption: Tutorial
    :maxdepth: 1

    tutorial
    tutorial-terminology
    tutorial-test
    tutorial-actions-and-assertions
    tutorial-import-step
    tutorial-page-model
    tutorial-parameterised-tests
    tutorial-data-providers
    tutorial-test-suite
    tutorial-environment-variables

.. toctree::
    :caption: Examples
    :maxdepth: 1

    examples
    examples-simple-test
    examples-import-step
    examples-page-model
    examples-parameterised-test
    examples-test-suite
    examples-data-provider
    examples-environment-variables

.. toctree::
    :caption: Reference
    :maxdepth: 1

    types
    browser-properties
    page-properties
    environment-variables
    parameters

.. toctree::
    :caption: Syntax
    :maxdepth: 1

    syntax-notation
    actions
    assertions
    identifiers
    selectors
    page-model
    steps
    tests
    test-suites
    data-providers
You can’t perform that action at this time.