End To End Testing - TestlumFramework/Testlum GitHub Wiki

End-To-End Testing

One of the main features of Testlum is that within one test scenario with a convenient structure and easy-to-read scripts, we can simultaneously test both WEB and perform REST - API - testing using a variety of approaches such as Data Driven Testing, Behavior Driven Development, Test Driven Development and others. We can also easily access the database and declare variables. Basically, perform end2end software testing.

Advantages of end2end testing:

  • Coverage of all levels of the system
  • Regression
  • System description
  • CI/CD
  • Global testing report

Tag's Structure of the end2end script:

<web comment="Start WEB action">
    <click comment="Click on 'Add to cart' 'Spring in Action' book"
           locator="shopizer.addToCartSpringBook"/>
</web>


<var comment="Create variable for shp_cart_code value" name="CART_CODE">
    <jpath>$.[0].content.[0].shp_cart_code</jpath>
</var>


<http comment="Make sure the order is added to the cart" alias="API">
    <get endpoint="/api/v1/cart/{{CART_CODE}}">
        <response code="200" file="expected_18.json"/>
    </get>
</http>
⚠️ **GitHub.com Fallback** ⚠️