sinon automation testing framework index.

Test More In Less Time

Run Automation Testing In Parallel On The LambdaTest Cloud

Start for free

Description

Standalone and test framework agnostic JavaScript test spies, stubs and mocks (pronounced "sigh-non", named after Sinon, the warrior).

Support and updates

  • sinon has 9045 stars, 804 forks.
  • It has 0 major releases in the past 6 months.
  • It has 0 commits and there are 5 open pull requests.
  • It has 40 open issues and 1256 have been closed.

Code statistics

  • sinon has 321 methods.

Blogs

Check out the latest blogs from LambdaTest on this topic:

Best Mobile App Testing Framework for Android and iOS Applications

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Mobile App Testing Tutorial.

What exactly do Scrum Masters perform throughout the course of a typical day

Many theoretical descriptions explain the role of the Scrum Master as a vital member of the Scrum team. However, these descriptions do not provide an honest answer to the fundamental question: “What are the day-to-day activities of a Scrum Master?”

Scala Testing: A Comprehensive Guide

Before we discuss Scala testing, let us understand the fundamentals of Scala and how this programming language is a preferred choice for your development requirements.The popularity and usage of Scala are rapidly rising, evident by the ever-increasing open positions for Scala developers.

Three Techniques for Improved Communication and Testing

Anyone who has worked in the software industry for a while can tell you stories about projects that were on the verge of failure. Many initiatives fail even before they reach clients, which is especially disheartening when the failure is fully avoidable.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

License

sinon is lincensed under the Other

LambdaTest Community Discussions

Test case code snippets

Shopify webpage testing - Verify that all links and buttons

Description:

This test case checks that all links and buttons are easily accessible on mobile devices, ensuring that customers can navigate the site easily and complete actions such as adding items to their cart or placing an order.

Accessibility testing - lang attribute for different language sections

Description:

Provide a lang attribute on the page's HTML element. When a visual label is present for an interactive element (e.g., link or form control), the accessible name of the element should contain the visual label.

API Testing - Check unauthorized requests

Description:

Verify that the API returns the correct HTTP status code for unauthorized requests (e.g. HTTP 401 Unauthorized).

API Testing - Check broken links

Description:

Verify that the API correctly handles broken links and returns the correct HTTP status code and error message.

Downloads

sinon can be downloaded from it’s GitHub repository - https://github.com/sinonjs/sinon

Method index

...

Automation Testing Cloud

Run Selenium, Cypress & Appium Tests Online on
3000+ Browsers.

Know More
Kane AI

Kane AI

World’s first end to end software testing agent.

Other similar frameworks

taiko

Taiko is a Node.js library with a clear and concise API to automate Chromium based browsers. Tests written in Taiko are highly readable and maintainable.

Jasmine-core

Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers or DOM thus suited anywhere that JavaScript can run.

argos

Tool for Visual testing by taking screenshots of every commit

redwood

RedwoodHQ is a free Open Source test automation framework that allows multiple users to develop automation code

ng-mocks

Framework helping test angular apps by mocking components, pipes, services etc

Frameworks to try

WinAppDriver

Windows Application Driver (WinAppDriver) is a service to support Selenium-like UI Test Automation on Windows Applications

Balin

Balin is a browser automation library for Kotlin. It's basically a Selenium-WebDriver wrapper inspired by Geb which uses power of the Selenium-WebDriver API.

Parallel_tests_ruby

ParallelTests splits tests into even groups (by number of lines or runtime) and runs each group in a single process with its own database.

DBTestCompareGenerator

Tool for generating database tests

Gherkin-ruby

Gherkin is a parser and compiler for the Gherkin language. Gherkin Ruby can be used either through its command line interface (CLI) or as a library.

Run sinon scripts on 3000+ browsers online

Perform automation testing with sinon on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now