Toolverse
All skills

line-execution-checker

by gadievron

Check if specific lines were executed using gcov data

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
gadievron
Category
Testing
Views
1

About this skill

Check if specific lines were executed using gcov data

How to use

  1. Upewnij się, że posiadasz dane pokrycia z wcześniejszego uruchomienia testów. Sprawdź obecność plików .gcda poleceniem: find . -name "*.gcda" -print -quit. Jeśli pliki nie istnieją, uruchom testy z flagą --coverage.

  2. Zbuduj narzędzie line-checker poleceniem: g++ -O3 -std=c++17 line_checker.cpp -o line-checker. Kompilacja wymaga kompilatora g++ obsługującego standard C++17.

  3. Uruchom narzędzie, podając ścieżkę do pliku i numer linii w formacie plik.c:numer. Dla pojedynczej linii: ./line-checker plik.c:42. Dla wielu linii podaj je jako argumenty: ./line-checker plik.c:42 main.c:100 util.c:55.

  4. Przeanalizuj wynik. Narzędzie wyświetli status każdej linii: EXECUTED (liczba wykonań) lub NOT EXECUTED. Kod wyjścia 0 oznacza, że wszystkie linie zostały wykonane, kod 1 wskazuje na niewykonane linie, kod 2 oznacza błąd.

  5. Użyj informacji do weryfikacji pokrycia testów. Jeśli linia jest oznaczona jako NOT EXECUTED, rozważ dodanie testu, który ją uruchomi, lub sprawdź, czy test jest prawidłowo skonfigurowany.

Related skills

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

go-dev-guidelines

by jumppad-labs

This skill should be used when writing, refactoring, or testing Go code. It provides idiomatic Go development patterns, TDD-based workflows, project structure conventions, and testing best practices using testify/require and mockery. Activate this skill when creating new Go

Testing
1190

hono

by openstatusHQ

Efficiently develop Hono applications using Hono CLI. Supports documentation search, API reference lookup, request testing, and bundle optimization.

Testing
1257

python-testing-patterns

by wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

Testing
46146

langgraph-docs

by langchain-ai

Use this skill for requests related to LangGraph in order to fetch relevant documentation to provide accurate, up-to-date guidance.

Testing
23127

test-cases

by cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering

Testing
2862