Software Alternatives & Reviews

The Benefits of Acceptance Testing

Mochajs Capybara puppeteer
  1. Mocha is a JavaScript test framework running on Node.js and the browser, making asynchronous testing simple.
    Pricing:
    • Open Source
    If the acceptance criteria layer focuses on building the right things, then the implementation layer is about building them right. Here is where we find Test-Driven Development (TDD) frameworks like JUnit, Mocha, or RSpec, of which many employ a Domain Specific Language (DSL) to map the conditions and actions in the acceptance layer into executable code. The test layer function is to evaluate the pre-conditions, execute the actions, and compare the outputs.

    #Development Tools #Javascript UI Libraries #JavaScript Framework 86 social mentions

  2. Capybara helps you test web applications by simulating how a real user would interact with your app.
    For instance, the acceptance test above requires a log in routine. Here's where the expressive power of a DSL like Capybara manifests:.

    #Testing #Automated Testing #Website Testing 11 social mentions

  3. Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium...
    If the application has an UI, acceptance tests should cover it; otherwise, we're not really testing the path end users experience. The test layer must then include a window driver that knows how to operate the UI, like clicking buttons, filling fields, and parsing the results. In this category we have libraries such as Puppeteer, Cypress, and Selenium.

    #Automated Testing #Browser Testing #Software Development 102 social mentions

Discuss: The Benefits of Acceptance Testing

Log in or Post with