87 repository-uri
Frameworks for unit testing, benchmarking, and memory analysis.
Explore 87 awesome GitHub repositories matching part of an awesome list · Testing and Debugging. Refine with filters or upvote what's useful.
json-server is a development toolset used to simulate a full REST API from a JSON file. It functions as a customizable mock API server that allows for the simulation of CRUD operations and resource relationships without the need to write backend code. The project enables rapid prototyping by generating a fake backend that persists data changes back to a local JSON file. It distinguishes itself by providing a static asset file server to deliver local documents, images, and stylesheets alongside the mock API endpoints. The server includes capabilities for data querying, such as parameter-based
Tool for serving REST APIs from static JSON files.
Acest proiect este un cadru cuprinzător de testare unitară C++ conceput pentru a verifica logica codului și a identifica regresii printr-o suită de macro-uri de aserțiune, fixture-uri de testare și executori de execuție. Acesta automatizează descoperirea și înregistrarea cazurilor de testare în timpul inițializării statice, permițând dezvoltatorilor să definească medii de testare izolate care asigură condiții repetabile și previzibile pentru fiecare execuție. Cadrul se distinge printr-o bibliotecă sofisticată de obiecte mock care permite simularea componentelor și impunerea unor cerințe stricte de interacțiune. Prin interceptarea apelurilor de metode virtuale, permite validarea precisă a modelelor de argumente, a numărului de apeluri și a comportamentelor de returnare. Această abordare bazată pe așteptări este completată de un limbaj de aserțiune declarativ și un motor bazat pe date, care împreună susțin validarea complexă a structurilor de date, a conținutului containerelor și a rezultatelor funcțiilor în diverse configurații de intrare. Dincolo de verificarea de bază, proiectul oferă monitorizarea ciclului de viață și interfețe de ascultare a evenimentelor, permițând integrarea cu sisteme externe de raportare și logare. Include suport robust pentru generarea de teste parametrizate, extensii mock personalizate și verificarea terminării procesului, asigurându-se că dezvoltatorii pot gestiona scenarii de testare diverse și cerințe unice de validare. Cadrul se integrează direct în sistemele de build standard, gestionând dependențele de proiect și configurațiile compilatorului pentru a menține consistența între mediile de dezvoltare. Este distribuit ca o bibliotecă bazată pe sursă care utilizează fișiere de configurare standard pentru a automatiza configurarea mediului și execuția binarului de testare.
Library for writing mock classes and unit tests.
Insomnia is a cross-platform API development environment that integrates a request debugger, schema design tools, a mocking server, and a test automation framework. It provides a unified workspace for sending requests and analyzing responses across REST, GraphQL, gRPC, and WebSocket protocols. The platform enables the design and preview of API specifications through a visual editor and allows for the simulation of backend behavior using mocking tools. It supports organizing and synchronizing API collections via local storage, cloud synchronization, or Git. The suite includes a command-line i
Cross-platform client for testing HTTP and GraphQL APIs.
HTTPie is a command-line HTTP client and REST API testing tool designed for sending requests to web services and APIs. It functions as a JSON-native network client and interactive HTTP debugger, providing a terminal interface for constructing and validating API requests and responses. The tool simplifies the process of interacting with APIs by automatically handling JSON payloads and applying colorized formatting to responses for human readability. It supports the simulation of request generation to verify headers and bodies before they are sent over the network. The project covers a broad r
User-friendly command-line HTTP client for developers.
jq is a command-line JSON processor and data transformer. It provides a functional query language used to slice, filter, map, and transform structured JSON data directly within a terminal. The utility functions as a data transformer that reshapes JSON input into different structures or formats based on declarative logic. This allows for the extraction and analysis of structured data from sources such as API responses and system logs.
Command-line processor for manipulating JSON API responses.
Catch2 is a comprehensive framework for C++ software validation, providing an environment for unit testing, integration verification, and performance analysis. It enables developers to define and execute automated test suites and micro-benchmarks directly within their applications. The framework is distinguished by its header-only distribution, which allows for integration into existing build systems without requiring complex external dependencies. It utilizes a hierarchical section-based execution model that supports behavior-driven testing, allowing for shared setup and teardown logic acros
Header-only framework for unit testing and TDD.
Laravel Debugbar is a web-based debugging toolbar and application profiler for Laravel. It provides a visual interface to inspect database queries, logs, and performance metrics in real time to identify and resolve bugs during development. The tool features a database query monitor to capture SQL statements and timings, as well as a request inspector for analyzing route metadata, loaded views, and HTTP request data. It includes a profiler for measuring execution time and memory usage to identify bottlenecks in the request lifecycle. Its observability capabilities cover exception capture, app
Integrates a comprehensive debugging toolbar.
MailHog is an email testing tool that functions as a local SMTP server to capture outgoing messages during the development process. By intercepting SMTP traffic, it allows developers to verify email content, headers, and attachments without transmitting messages to actual external recipients. Captured data is stored in an in-memory buffer, ensuring that sensitive information remains accessible for inspection through a dedicated web-based dashboard. The platform distinguishes itself by incorporating network simulation capabilities, which allow for the injection of artificial delays or connecti
Local SMTP server for testing email sending in development.
This project is a performance measurement framework and microbenchmarking library designed for C++ and Python. It provides a toolset for measuring the execution time of small code fragments using high-resolution timers, calculating statistical aggregates, and analyzing asymptotic complexity. The framework distinguishes itself through specialized capabilities for multithreaded performance testing, using synchronized execution to measure parallel throughput. It includes mechanisms to prevent compiler optimizations from removing benchmarked code and supports complex parameterization via Cartesia
Library for microbenchmarking C++ code.
Awesome Emacs is a curated directory of community-driven resources, packages, and configurations designed to extend the functionality of the Emacs text editor. It serves as a comprehensive index for users seeking to transform their editor into a specialized development environment or a highly personalized productivity workspace. The collection highlights tools that enable deep customization of the Emacs experience, ranging from ergonomic key binding schemes and visual interface themes to advanced window management and navigation utilities. It provides a centralized reference for discovering e
Integrates external build systems and debuggers directly into the development environment.
http-prompt is an interactive HTTP client and API testing CLI designed for constructing and debugging network requests to REST and GraphQL endpoints. It functions as a command-line request builder and a shell extension built on top of HTTPie. The tool provides an interactive shell interface featuring request autocomplete and real-time syntax highlighting for requests and responses. It incorporates stateful session management to maintain request history and session data across multiple commands. The project covers API request automation and REST API debugging, allowing users to send and verif
Interactive HTTP client with autocomplete and syntax highlighting.
Rest-assured is a Java-based REST API testing framework and HTTP client library designed for automating web service tests. It provides a fluent domain-specific language and assertion library to send HTTP requests and validate response metadata, including status codes, headers, cookies, and bodies. The framework is distinguished by a method-chaining DSL that creates readable specifications for API interactions. It features a filter-based request interception pipeline, object-mapping serialization for converting Java objects to JSON or XML, and a path-based parsing system to isolate specific fi
Java DSL for testing REST services.
doctest este un cadru de testare unitară și o bibliotecă de aserțiuni pentru C++ livrată ca bibliotecă single-header. Acesta oferă un test runner cu o interfață în linia de comandă pentru a executa teste, a filtra suitele de testare și a genera rapoarte de execuție. Cadrul suportă testarea unitară în sursă și permite eliminarea completă a logicii de testare din binarele compilate prin preprocesor pentru a elimina overhead-ul de performanță în mediile de producție. De asemenea, permite partajarea registrului de teste între binare, permițând unui executabil să utilizeze test runner-ul altuia. Capabilitățile includ testarea parametrizată, verificarea aserțiunilor thread-safe pentru validarea software-ului concurent și raportarea automată a testelor pentru analiza de regresie. Utilizează înregistrarea automată a testelor pentru a colecta cazurile de testare fără a necesita liste manuale de funcții de executat.
Lightweight, feature-rich single-header testing framework.
Clockwork is a PHP development debugging tool that collects and displays runtime data from server-side middleware in a browser-based interface. It captures request details, performance metrics, logs, database queries, and stack traces for HTTP requests, commands, queue jobs, and tests without requiring modifications to application code. The tool provides a client-side rendered toolbar and full web interface for inspecting collected data, including a searchable performance timeline viewer, an HTTP request monitor with timing and response details, and inline variable logging helpers that return
Profiles and debugs applications via browser integration.
Unity este un framework de testare unitară ușor pentru C, oferind biblioteca de aserțiuni, test runner-ul și mecanismele de raportare necesare pentru a verifica corectitudinea codului. Funcționează ca infrastructură de testare de bază pentru organizarea și executarea testelor unitare în medii C. Framework-ul este conceput pentru validarea software-ului la nivel de sistem și embedded, cu capabilități specifice pentru verificarea firmware-ului și a driverelor hardware. Se concentrează pe integritatea memoriei și validitatea pointerilor, permițând validarea stărilor pointerilor și inspecția blocurilor de memorie brută. Setul de instrumente acoperă o gamă largă de tipuri de comparație, inclusiv verificarea numerică pentru întregi, tipare de biți și valori în virgulă mobilă. Oferă, de asemenea, utilitare pentru validarea șirurilor terminate în null, a conținutului array-urilor și a logicii booleene, suportând în același timp mesaje de eroare personalizate pentru a oferi context în timpul depanării.
Simple unit testing for C.
Telescope este un dashboard de debugging și instrument de dezvoltare pentru aplicațiile Laravel care oferă o interfață web pentru monitorizarea cererilor, excepțiilor, interogărilor de bază de date și log-urilor. Funcționează ca un monitor de aplicații PHP și asistent de diagnosticare, urmărind ciclul de viață al execuției sistemului pentru a identifica și rezolva bug-urile. Instrumentul se distinge prin oferirea unor profilere specializate pentru interogări SQL și comenzi Redis, alături de un sistem de previzualizare în browser pentru e-mailurile trimise. Include, de asemenea, un sistem dedicat de audit pentru comenzile de consolă și verificările de autorizare pentru a valida logica permisiunilor. Platforma acoperă o gamă largă de arii de observabilitate, inclusiv urmărirea job-urilor și proceselor de fundal, inspecția operațiunilor de cache și monitorizarea evenimentelor aplicației. Analizează ciclul de viață al cererii prin datele de header și sesiune, înregistrează stack trace-uri complete pentru excepții și monitorizează randarea view-urilor și hidratarea modelelor. Accesul la interfața de monitorizare este gestionat printr-o poartă de autorizare centralizată.
Provides an elegant dashboard for monitoring and debugging.
backward-cpp is a C++ stack trace library and debugging utility designed to capture, resolve, and print detailed execution traces and crash reports. It functions as a crash reporter and call stack printer that translates raw memory addresses into human-readable function names, filenames, and line numbers. The project provides automated crash reporting by registering system handlers for fatal errors, such as segmentation faults, to automatically generate execution traces upon program failure. It distinguishes itself by extracting source file fragments from disk to display specific lines of cod
Stack trace pretty printer for C++.
Heaptrack este un profiler de memorie heap și instrument de diagnosticare pentru aplicațiile care rulează pe Linux. Acesta funcționează ca un detector de scurgeri de memorie și sistem de analiză a performanței care înregistrează alocările heap și stack trace-urile pentru a identifica hotspot-urile de memorie și tiparele de consum. Proiectul oferă un vizualizator grafic de alocare a memoriei heap pentru explorarea utilizării memoriei prin vizualizări de tip arbore și rapoarte de memorie maximă. Utilizează flame graphs și diagrame de alocare pentru a vizualiza hotspot-urile de memorie și a asista la detectarea scurgerilor. Setul de instrumente include capabilități pentru urmărirea alocării memoriei heap și generarea de rapoarte de memorie prin utilitare în linie de comandă. Aceste utilitare produc rezumate ASCII ale consumatorilor de memorie maximă și permit conversia datelor de profil.
Heap memory profiler for Linux.
Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer
Single-file profiler with a web viewer.
A dbg(…) macro for C++
Macro for convenient debugging output.