87 Repos
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.
Dieses Projekt ist ein umfassendes C++-Unit-Testing-Framework, das entwickelt wurde, um Codelogik zu verifizieren und Regressionen durch eine Suite von Assertions-Makros, Test-Fixtures und Ausführungs-Runnern zu identifizieren. Es automatisiert die Entdeckung und Registrierung von Testfällen während der statischen Initialisierung, was es Entwicklern ermöglicht, isolierte Testumgebungen zu definieren, die wiederholbare und vorhersehbare Bedingungen für jede Ausführung gewährleisten. Das Framework zeichnet sich durch eine ausgefeilte Mock-Objekt-Bibliothek aus, die die Simulation von Komponenten und die Durchsetzung strenger Interaktionsanforderungen ermöglicht. Durch das Abfangen virtueller Methodenaufrufe erlaubt es eine präzise Validierung von Argumentmustern, Aufrufzahlen und Rückgabeverhalten. Dieser erwartungsgesteuerte Ansatz wird durch eine deklarative Assertions-Sprache und eine datengesteuerte Engine ergänzt, die gemeinsam die komplexe Validierung von Datenstrukturen, Containerinhalten und Funktionsergebnissen über verschiedene Eingabekonfigurationen hinweg unterstützen. Über die Kernverifizierung hinaus bietet das Projekt umfangreiche Lebenszyklus-Überwachungs- und Event-Listener-Schnittstellen, die eine Integration mit externen Berichts- und Protokollierungssystemen ermöglichen. Es umfasst eine robuste Unterstützung für parametrisierte Testgenerierung, benutzerdefinierte Mock-Erweiterungen und die Verifizierung von Prozessbeendigungen, wodurch sichergestellt wird, dass Entwickler diverse Testszenarien und einzigartige Validierungsanforderungen handhaben können. Das Framework integriert sich direkt in Standard-Build-Systeme, verwaltet Projektabhängigkeiten und Compiler-Konfigurationen, um die Konsistenz über Entwicklungsumgebungen hinweg aufrechtzuerhalten. Es wird als quellbasierte Bibliothek vertrieben, die Standard-Konfigurationsdateien verwendet, um das Einrichten der Umgebung und die Ausführung der Test-Binärdateien zu automatisieren.
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 ist ein Unit-Testing-Framework und eine Assertions-Bibliothek für C++, die als Single-Header-Bibliothek bereitgestellt wird. Es bietet einen Test-Runner mit einer Befehlszeilenschnittstelle, um Tests auszuführen, Testsuiten zu filtern und Ausführungsberichte zu generieren. Das Framework unterstützt In-Source-Unit-Testing und ermöglicht das vollständige Entfernen der Testlogik aus kompilierten Binärdateien mittels Präprozessor-Stripping, um Performance-Overhead in Produktionsumgebungen zu eliminieren. Es ermöglicht zudem das Teilen von Test-Registries über Binärdateien hinweg, sodass eine ausführbare Datei den Test-Runner einer anderen nutzen kann. Zu den Funktionen gehören parametrisiertes Testen, thread-sichere Assertions-Verifizierung für die Validierung nebenläufiger Software und automatisierte Testberichte für Regressionsanalysen. Es nutzt eine automatische Testregistrierung, um Testfälle zu sammeln, ohne dass manuelle Listen von Funktionen zur Ausführung erforderlich sind.
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 ist ein leichtgewichtiges Unit-Testing-Framework für C, das die erforderliche Assertion-Bibliothek, den Test-Runner und Berichtsmechanismen zur Überprüfung der Code-Korrektheit bereitstellt. Es fungiert als Kern-Testinfrastruktur zur Organisation und Ausführung von Unit-Tests in C-Umgebungen. Das Framework ist für die Validierung von System-Level- und Embedded-Software konzipiert, mit spezifischen Funktionen zur Überprüfung von Firmware und Hardware-Treibern. Es konzentriert sich auf Speicherintegrität und Pointer-Validität, was die Validierung von Pointer-Zuständen und die Inspektion roher Speicherblöcke ermöglicht. Das Toolset deckt ein breites Spektrum an Vergleichstypen ab, einschließlich numerischer Verifizierung für Integer, Bitmuster und Fließkommawerte. Es bietet zudem Dienstprogramme zur Validierung nullterminierter Strings, Array-Inhalte und boolescher Logik, während es benutzerdefinierte Fehlermeldungen unterstützt, um Kontext während des Debuggings bereitzustellen.
Simple unit testing for C.
Telescope ist ein Debugging-Dashboard und Entwicklungstool für Laravel-Anwendungen, das eine Weboberfläche zur Überwachung von Anfragen, Exceptions, Datenbankabfragen und Logs bereitstellt. Es fungiert als PHP-Anwendungsmonitor und Diagnoseassistent, der den Ausführungslebenszyklus des Systems nachverfolgt, um Fehler zu identifizieren und zu beheben. Das Tool zeichnet sich durch spezialisierte Profiler für SQL-Abfragen und Redis-Befehle sowie ein In-Browser-Vorschau-System für ausgehende E-Mails aus. Es enthält zudem ein dediziertes Auditing-System für Konsolenbefehle und Autorisierungs-Gate-Prüfungen, um Berechtigungslogik zu verifizieren. Die Plattform deckt eine breite Palette an Observability-Bereichen ab, einschließlich der Nachverfolgung von Hintergrund-Jobs und Prozessen, der Inspektion von Cache-Operationen und der Überwachung von Anwendungsereignissen. Sie analysiert den Request-Lebenszyklus anhand von Header- und Sitzungsdaten, zeichnet vollständige Stack-Traces für Exceptions auf und überwacht das View-Rendering sowie die Modell-Hydratisierung. Der Zugriff auf die Überwachungsoberfläche wird über ein zentrales Autorisierungs-Gate verwaltet.
Provides an elegant dashboard for monitoring and debugging.
backward-cpp ist eine C++-Stack-Trace-Bibliothek und ein Debugging-Utility, das entwickelt wurde, um detaillierte Ausführungsspuren und Crash-Reports zu erfassen, aufzulösen und auszugeben. Es fungiert als Crash-Reporter und Call-Stack-Printer, der rohe Speicheradressen in lesbare Funktionsnamen, Dateinamen und Zeilennummern übersetzt. Das Projekt bietet automatisierte Crash-Reports durch die Registrierung von System-Handlern für fatale Fehler, wie etwa Segmentation Faults, um bei Programmfehlern automatisch Ausführungsspuren zu generieren. Es zeichnet sich dadurch aus, dass es Quellcode-Fragmente von der Festplatte extrahiert, um spezifische Codezeilen neben den aufgelösten Stack-Frames anzuzeigen. Das Toolset deckt das Unwinding von Stack-Frames und die Auflösung von Speicheradressen ab, um die Sequenz von Funktionsaufrufen zu analysieren, die zu einem Absturz geführt haben. Es enthält Funktionen für die verzögerte Symbolübersetzung und farbiges Rendering, um Trace-Daten für die Terminalausgabe zu formatieren.
Stack trace pretty printer for C++.
Heaptrack ist ein Heap-Memory-Profiler und Diagnosetool für Anwendungen unter Linux. Es fungiert als Speicherleck-Detektor und Performance-Analysesystem, das Heap-Allokationen und Stack-Traces aufzeichnet, um Speicher-Hotspots und Verbrauchsmuster zu identifizieren. Das Projekt bietet einen grafischen Heap-Allokations-Visualisierer zur Untersuchung der Speicherauslastung durch Baumansichten und Peak-Memory-Berichte. Es nutzt Flame-Graphs und Allokationsdiagramme, um Speicher-Hotspots zu visualisieren und bei der Erkennung von Lecks zu unterstützen. Das Toolset enthält Funktionen für das Tracing von Heap-Speicherallokationen und die Generierung von Speicherberichten über Kommandozeilen-Utilities. Diese Utilities erstellen ASCII-Zusammenfassungen der größten Speicherverbraucher und ermöglichen die Konvertierung von Profildaten.
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.