Skip to main content

RoboView is a Visual Studio Code extension designed to help you manage keywords within your Robot Framework projects and improve overall test quality through built-in Robocop integration. Its primary goal is to provide a comprehensive overview of all keywords and their relationships, making it easier to understand and maintain your test automation codebase.

Project description

RoboView - Keyword Management in Robot Framework

banner PyPI version license python

RoboView is a Visual Studio Code extension designed to help you manage keywords within your Robot Framework projects and improve overall test quality through built-in Robocop integration. Its primary goal is to provide a comprehensive overview of all keywords and their relationships, making it easier to understand and maintain your test automation codebase.


✨ Key Features

  • 🗂️ Workspace: Automatically selects your current workspace project and generates comprehensive overviews.
  • 📈 Dashboard: Get key performance indicators and a general overview of your robot framework project.
  • 📝 Keyword Overview & Filtering: Instantly view all keywords of a selected file, filter by type (initialized, called).
  • Global Filter: Searches your files for any keywords lacking documentation, unused keywords or faulty keywords with cycle calling.
  • 📖 Detailed Keyword Insights: Select any keyword to see where it is defined, how often it is used (both in its own file and across the project), and view its documentation.
  • 🧩 Similarity Detection: Get information about similar or potentially duplicate keywords through similarity analysis of keyword source code.
  • 🧭 Code Navigation: Jump straight to a keyword’s definition with a simple Ctrl+Click.
  • 🛡️ Robocop Integration: Runs Robocop directly from within RoboView, inspect lint results in context, and use your custom configuration file (e.g. robocop.toml) out of the box.
  • 🔍 Search & Sorting: Quickly find keywords using the search bar and sort them by name or usage statistics.

⚙️ Installation Guide

RoboView consists of two parts: a backend (Python package) and a frontend (Visual Studio Code extension).

✅ Backend

Install the backend via pip:

pip install robotframework-roboview

✅ Frontend

The Frontend is available as a Visual Studio Code extension on the Marketplace – install it in seconds from the VS Code Extensions view.

  1. Open Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X).
  3. Search for "RoboView".
  4. Install the RoboView extension by viadee Unternehmensberatung AG.

🛠️ GitHub

You can find the RoboView source code and issue tracker on GitHub:

👉 https://github.com/viadee/robotframework-roboview


📝 Notes and Recommendations

  • For Robocop to automatically detect your configuration, name the file robocop.toml, robot.toml or integrate in pyproject.toml.
    If you cannot change the filename in your project, you can instead set the environment variable ROBOCOP_CONFIG_PATH to the full path of your config file.
  • If the Robocop configuration file is outdated or cannot be parsed, RoboView falls back to Robocop’s default settings. The same applies if no configuration file is found.
  • RoboView follows your IDE’s color theme. We recommend using a dark theme, as text in light themes can be harder to read - but feel free to experiment and choose what works best for you.

🔍 How to navigate RoboView

In the following three sections, we will dive deeper into how to navigate RoboView: where to find the features and understand the terminology we use. We start with the dashboard, then look at the keyword usage overview, and finally the Robocop integration. You can switch between these views using the buttons in the top-right corner of RoboView: Dashboard, Keyword Usage, and Robocop.

📋 1) Dashboard

The Dashboard gives you a high‑level overview of the selected Robot Framework project and its overall health.

keyword_list

keyword_list


At the top of the dashboard you’ll see the Selected Project. RoboView automatically detects your current workspace and shows:

  • The project name
  • The absolute path to the project root

This ensures all metrics are calculated against the correct .robot and .resource files.

KPIs

The KPIs section summarizes the most important metrics of your test suite:

  • User Defined Keywords: Total number of custom keywords found in your project.
  • Keyword Reuse Rate: Percentage of keywords that are used more than once. A higher value indicates better reuse and less duplication/redundancy.
  • Unused Keywords: Number of keywords that are never called anywhere in the project. Use this to identify dead code and candidates for cleanup.
  • Robocop Issues: Total number of Robocop violations detected across the project. This helps you quickly assess structural and style problems in your tests.
  • Documentation Coverage: Percentage of keywords that contain a [Documentation] section. A higher value means your test suite is better documented and easier to maintain.
  • Robot Framework Files: Total number of .robot and .resource files that were analyzed. Use the dashboard to quickly spot problematic areas (e.g. many unused keywords, low documentation coverage, or a high number of Robocop issues) and decide where to focus your refactoring or cleanup efforts first.

🌳 2) Keyword Overview

Keyword Overview Layout

[ Left: File Navigation & Keyword Filters ] [ Middle: Keyword List ] [ Right: Keyword Details ]

graph_view


⬅️ Left Side – Navigation & Filters

  • File Selection: At the top, a dropdown lets you select a file. The current VS Code workspace is used as root, and all .robot and .resource files are available.
  • Type Filter: Choose which group of keywords to display for the selected file:
    • All Keywords: Shows every keyword that is either defined in or used by the selected file.
    • Initialized Keywords: Only keywords that are defined/implemented in the selected file.
    • Called Keywords: Only keywords that are used in the selected file but defined elsewhere.
  • Global Filter: Jump directly to common problem areas across the entire project:
    • Keywords without Documentation: Keywords that are missing documentation.
    • Unused Keywords: Keywords that are never called in any analyzed file.
    • Keywords with Calling Cycles: Keywords that participate in cyclic calls (A calls B, B calls A, etc.), which can indicate design or maintainability issues.

📊 Middle – Keyword List

The middle section lists all keywords found in the selected file and shows key information about each of them:

  • Origin indicator: A color-coded label to the left of the keyword name shows where the keyword comes from:
    • U: User-defined keyword.
    • E: External keyword (e.g. from BuiltIn or libraries like Browser).
  • Definition location: The file in which the keyword is defined.
  • File-local usage count: How often the keyword is used (called) in the selected file.
  • Project-wide usage count: How often the keyword is used across all .robot and .resource files in the current project.

➡️ Right Side – Keyword Details

When you select a keyword (by clicking a row in the middle table), the right panel shows detailed information:

  • Documentation: The keyword’s documentation as defined in the source code.
  • Usage across files: In which .robot and .resource files the keyword is used, and how often in each file.
  • Similarity analysis: A list of up to five keywords that are most similar to the selected one, based on its name and source code using term-frequency-based similarity.


🛡️ 3) Robocop

The Robocop view integrates the https://robocop.readthedocs.io/ linter directly into RoboView, so you can spot and fix structural and style issues in your Robot Framework tests without leaving VS Code.

Robocop Issues Layout

[ Left: Error Overview ] [ Middle: Error List ] [ Right: Error Details ]

robocop_issues


How it works

  • Left: Error Overview
    The left panel shows a compact overview of all detected issues, for example:

    • Total number of Robocop findings
    • Issues grouped by rule or category
    • A quick way to see which types of problems are most common This helps you understand the overall state of your project at a glance.
  • Middle: Error List
    The middle panel contains the list of individual Robocop issues.
    Each entry typically shows:

    • The file where the issue was found
    • The rule id and short message
    • The line number in the file

    You can scroll through this list and select a specific issue to inspect it in detail.

  • Right: Error Details The right panel displays details for the currently selected issue, including:

    • The full Robocop message
    • The rule id and its description
    • The file and line information
    • Additional context that helps you understand why this issue was reported


🔮 Outlook

RoboView is an actively evolving project. ✨
We’re continuously adding new features, polishing existing workflows, and exploring fresh ideas to make working with Robot Framework even more enjoyable. 💡

We’re happy to have you along for the journey – stay tuned for new releases and improvements! 🚀

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_roboview-0.0.1.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_roboview-0.0.1-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_roboview-0.0.1.tar.gz.

File metadata

  • Download URL: robotframework_roboview-0.0.1.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for robotframework_roboview-0.0.1.tar.gz
Algorithm Hash digest
SHA256 94205cfff79db30fa5e4cda49adf89cb6108f366734de20fb6953485c99e7c5a
MD5 d954836b32fd821b70d365ccdad7e120
BLAKE2b-256 49b1b44efd3d97db19d136662745d72626b57f7c377e25bd133f6b90a2a1160d

See more details on using hashes here.

File details

Details for the file robotframework_roboview-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_roboview-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f96d113ba8cdde52b536881765282313f784aba1414243dde6d08e8ed3f7b9d8
MD5 ca0d4c4d071763d90d49d1760e993012
BLAKE2b-256 624fb802f71fbd9f398e239966ef4355edcabcc3f577566d3ec36390f9cc4296

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page