104 repositorios
Frameworks and utilities for verifying application code.
Explore 104 awesome GitHub repositories matching part of an awesome list · Testing. Refine with filters or upvote what's useful.
Playwright is a comprehensive browser automation framework designed for end-to-end testing and web workflow automation. It provides a unified API to drive web applications across multiple browser engines, enabling developers to simulate complex user interactions, perform web scraping, and validate application behavior in consistent, isolated environments. The framework distinguishes itself through a web-first testing paradigm that prioritizes stability and resilience. By utilizing an auto-waiting actionability engine and accessibility-tree-based locators, it eliminates common sources of test
Automation framework for cross-browser testing.
Cypress is a browser-based testing framework designed for writing and running automated tests directly inside the browser. It serves as an end-to-end testing framework, a frontend component testing tool, and a web application test runner. The project also functions as a headless browser automation tool and a network traffic interceptor. The system differentiates itself by executing test code within the same browser process as the application, allowing for direct access to the DOM. It includes a network traffic interception system to stub and manipulate browser requests, as well as a graphical
End-to-end testing framework for browser-based applications.
Jest is a JavaScript testing framework designed for writing and running automated test suites to verify the correctness of JavaScript and TypeScript code. It functions as a comprehensive toolset that integrates a test runner, a mocking and spying library, a snapshot testing tool, and a code coverage tool. The framework distinguishes itself through snapshot testing, which records the serialized state of data structures to detect regressions in future executions. It also includes a mocking and spying library for simulating external dependencies and tracking function calls to isolate code during
Comprehensive JavaScript testing framework.
Selenium is a comprehensive browser automation framework that provides a standardized interface for controlling web browsers to perform automated tasks, user interactions, and data extraction. It functions as a cross-browser testing tool, enabling developers to execute identical automation scripts across various browser engines and operating systems to ensure consistent application behavior. By implementing the WebDriver protocol, it maps high-level automation commands to browser-specific drivers using a standardized HTTP-based wire protocol. The project distinguishes itself through its distr
WebDriver bindings.
React Testing Library is a testing framework for verifying React components by interacting with rendered output instead of internal implementation details. It functions as a DOM testing utility and a frontend integration testing tool that mounts components into a virtual document object model for execution within Node.js environments. The library utilizes an accessibility-first query engine to locate user interface elements via ARIA roles and labels. This approach ensures web accessibility standards are met by mirroring how users perceive the interface rather than relying on implementation-sp
Utilities for testing components from a user-centric perspective.
Faker is a synthetic data generation library used to create realistic but fake information, such as names, addresses, and phone numbers, for software testing and database population. It functions as a tool for producing synthetic test data to fill development databases with records that simulate production environments. The library provides localized data generation, allowing synthetic information to be customized for specific geographic regions and language formats. It also includes a mechanism for unique value enforcement to prevent the repetition of generated data by tracking and rejecting
Generates fake data.
Capybara is a browser automation library and web application acceptance test framework used to simulate user behavior and verify functional requirements. It serves as a cross-browser testing tool and headless browser orchestrator, allowing for the execution of test suites across multiple browser engines. The project provides a driver-agnostic interaction layer that abstracts different browser engines, enabling users to switch between headless and full browser drivers. It supports multi-user session simulation by maintaining independent browser states and cookies to test interactions between i
Acceptance testing for web applications.
Capybara is a browser automation testing library and framework for web application acceptance testing. It provides a high-level API for automating browser navigation and element interaction to validate user-facing features. The project features a cross-browser driver interface that allows switching between headless and full browser environments without modifying the underlying test code. This abstraction enables the simulation of complex web workflows across different browser drivers and environments. The suite covers user interaction simulation, including form filling, click events, and bro
Browser simulation for web testing.
Bogus is a fake data generator for .NET applications, including C#, F#, and VB.NET. It provides a deterministic mock data engine and an object configuration mapper to produce realistic profiles, addresses, and financial records. The library differentiates itself through a localization data provider that generates region-specific identifiers across various international languages and locales. It ensures reproducibility across executions by using seed values to control the sequence of generated data. The project covers wide-ranging data synthesis capabilities, including the generation of netwo
Fake data generator.
django-debug-toolbar is a developer tool that provides a browser-based set of diagnostic panels for inspecting HTTP requests and responses within a Django web application. It serves as a server-side diagnostics tool and web framework development suite, allowing developers to profile and inspect request-response cycles. The tool focuses on Django application troubleshooting, database optimization, and general web development. It enables the analysis of SQL queries and database performance to identify slow calls and reduce the number of requests per page. The software includes capabilities for
Request and response debugging panels.
Moq4 is a .NET mocking framework used to create simulated implementations of interfaces and abstract classes. It serves as a test double generator and behavior verification tool, allowing developers to isolate code during unit testing by replacing real dependencies with programmed mocks. The framework enables the definition of expected method behaviors and return values to control the execution flow of tests. It provides specialized capabilities for simulating methods that use output or reference parameters and mechanisms to monitor and trigger events on simulated objects. The library includ
Mocking framework.
VCR is a Ruby library that records and replays HTTP interactions during test runs, storing them in serialized cassette files. It captures real HTTP requests and responses, then serves those recorded responses instead of making actual network calls, enabling fast and deterministic test suites that work offline. The library provides configurable request matching, allowing comparisons based on method, URI, host, path, body, or headers to find the correct recorded response. It supports scheduled cassette re-recording to automatically refresh stored interactions at a configurable interval, keeping
Records and replays HTTP interactions.
rspec-rails es un framework de pruebas que integra RSpec con Ruby on Rails para proporcionar herramientas de desarrollo guiado por comportamiento (BDD). Sirve como una suite para definir el comportamiento de la aplicación mediante una sintaxis conversacional, proporcionando un kit de herramientas especializado para crear especificaciones de comportamiento para modelos, controladores y vistas. El proyecto destaca por la generación automatizada de pruebas, proporcionando una interfaz de línea de comandos para crear archivos de especificación base para componentes de Rails como modelos, controladores y trabajos en segundo plano. Diferencia sus capacidades con una biblioteca completa de mocking y stubbing, y una suite de integración de aplicaciones web diseñada para simular ciclos completos de solicitud e interacciones de navegador. El framework cubre una amplia superficie de pruebas de integración, incluyendo verificación de mapeo de rutas, validación de contenido de mailers y ejecución de trabajos en segundo plano. Proporciona una amplia gama de aserciones de prueba para validar el estado de los objetos, estados de respuesta HTTP y resultados de consultas a bases de datos, junto con herramientas para gestionar dobles de prueba mediante espías y stubs. El sistema incluye un ejecutable de línea de comandos para la ejecución de pruebas y un almacén de configuración persistente para estandarizar los ajustes entre entornos.
Testing framework for Rails.
SimpleCov es una herramienta de cobertura de código para Ruby y motor de análisis utilizado para rastrear qué líneas, ramas y métodos de código se ejecutan durante las pruebas. Funciona como un ejecutor de umbrales de cobertura y agregador de suites de pruebas, registrando datos de ejecución para identificar áreas no probadas de una aplicación. La herramienta se distingue por la capacidad de fusionar resultados de cobertura de procesos trabajadores paralelos y subprocesos en un único informe unificado. Soporta la comparación de líneas base para detectar regresiones de cobertura y puede recopilar datos de código ejecutado mediante métodos de evaluación dinámica, como los utilizados en motores de plantillas. Sus capacidades más amplias incluyen la generación de informes en múltiples formatos, agrupación de archivos fuente y filtrado de archivos mediante expresiones regulares. El sistema también proporciona una interfaz de línea de comandos para mostrar estadísticas y listar archivos no cubiertos.
Code coverage analysis tool.
xunit is a unit testing framework for the .NET ecosystem designed to execute isolated code units and report failures across multiple platforms. It functions as a data-driven test runner and a native AOT test suite, capable of verifying compiled binaries and standalone executables after ahead-of-time compilation. The framework utilizes build-time source generators for test discovery to define test cases without relying on runtime reflection. It also features an extensible reporting system where custom logic can be linked into test assemblies to output results in specialized formats. The proje
Unit testing tool.
WebMock es una biblioteca de Ruby para el stubbing de peticiones HTTP, simulación de respuestas e interceptación de red. Sirve como un framework de aserción de pruebas para verificar el tráfico HTTP saliente y una capa de interceptación de red que bloquea conexiones externas para evitar peticiones accidentales durante las pruebas. El proyecto proporciona capacidades para la generación dinámica de respuestas y la secuenciación de diferentes valores de retorno para peticiones repetidas al mismo endpoint. Admite la simulación de fallos de red, como tiempos de espera o excepciones, y permite la reproducción de respuestas utilizando datos HTTP crudos cargados desde archivos locales. La biblioteca cubre una amplia gama de funciones de simulación de API y control de red, incluyendo coincidencia de peticiones basada en URI y cabeceras, grabación de firmas de peticiones y filtrado de tráfico saliente. También incluye utilidades de monitoreo para interceptar y registrar eventos de red a través de callbacks personalizados.
HTTP request stubbing.
FluentAssertions is a library of extension methods for .NET that provides a human-readable syntax for verifying expectations in unit tests. It serves as a validation layer that integrates with MSTest, NUnit, and xUnit to throw framework-specific exceptions upon assertion failure. The project includes a structural equivalency engine that performs deep member-by-member validation of .NET objects using configurable matching rules. It is designed for test-driven and behavior-driven development by generating descriptive failure messages that explain the difference between actual and expected resul
Fluent assertion library for tests.
Simple one-liner tests for common Rails functionality
RSpec matchers for Rails functionality.
A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
Time manipulation for testing.
minitest provides a complete suite of testing facilities supporting TDD, BDD, and benchmarking.
Complete testing suite for TDD and BDD.