robotframework / robotframework/RIDE

File Move

Open
#821 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement prio-medium
Dominant language
Python
Stars
1k
Forks
385
Avg merge
13m
Merged PRs (30d)
2

Description

Originally submitted to Google Code by @mkorpela on 12 Apr 2011

Moving file from a directory to another would be very useful when restructuring large test data sets.

This should also update relative resource/library imports.

Example:

  • User is restructuring test suites
  • He creates a new subdirectory (missing feature)
  • He takes a file in the current directory and moves it to the subdirectory
    => RIDE updates file imports in the file
    => RIDE updates others that import the moved file

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating RIDE's file-move handling and the code that resolves relative resource and library imports. Trace how a moved file and files importing it are represented, then define tests covering the directory move, the moved file's imports, and references from other files. Done means moving a file into a new subdirectory updates all affected relative imports.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.