robotframework / robotframework/robotframework

No Error Handled when --test entered wrongly

Open
#3,938 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: medium
Dominant language
Python
Stars
11.9k
Forks
2.6k
Avg merge
1d 18h
Merged PRs (30d)
10

Description

Dear Team

When we include multiple tests to execute using --test , if any of the entered TC title is incorrect then framework runs the TC which have correct syntax and doesnt give any note for incorrect test-cases that were included


Steps To Reproduce :

Execute : robot --test "correct.tcid" --test "wrong.tcid" suitefile.robot

Observation :
In the above scenario TC "wrong.tcid" doesnt get executed ( wrong TCID/TC-Title ), at the end of execution there is no note/error message given by unexecuted cases.

Version : Robot Framework 3.1.2 (Python 3.7.6 on win32)

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 reproducing robot --test "correct.tcid" --test "wrong.tcid" suitefile.robot and trace how the --test selections are handled. Done means valid tests still run and the command reports that an entered test title was not found or executed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.