# Named test case in ride.py

**URL:** <https://forum.robotframework.org/t/named-test-case-in-ride-py/7279>\
**Category:** Robot Framework\
**Created:** [10 May 2024 18:26 UTC](https://forum.robotframework.org/t/named-test-case-in-ride-py/7279 "2024-05-10T18:26:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![honggam124](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/honggam124/32/3855_2.png) [@honggam124](https://forum.robotframework.org/u/honggam124)\
**Post date:** [10 May 2024 18:26 UTC](https://forum.robotframework.org/t/named-test-case-in-ride-py/7279/1 "2024-05-10T18:26:29Z")

</div>

I have simply create a testing, I created a test case named “TC Module [2]” and run editor throw “unexpected error: [ERROR] Suite ‘suite\_name’ contains no tests matching name,…”  
Then I removed brackets in test case name to “TC Module 2” and it’s worked.  
Can someone explain why I can’t named test case with brackets? Is there a rule to create test case name?

---

<div class="post-metadata">

**Author:** ![CharlieScene](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/charliescene/32/3484_2.png) [@CharlieScene](https://forum.robotframework.org/u/CharlieScene)\
**Post date:** [10 May 2024 18:41 UTC](https://forum.robotframework.org/t/named-test-case-in-ride-py/7279/2 "2024-05-10T18:41:58Z")

</div>

Hello,

Certain characters are used as simple or glob pattern when executing tests through robot command, such as square bracket. See here in _simple pattern_ section :

[https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-432](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-432)

So it will search for pattern according to the info inside brackets, and will not find anything (searched for ‘TC Module 2’ I guess.

Also the note at the bottom here gives hints on the test cases naming :

[https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-267](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-267)

Remember also that using OS reseverd characters/not usable for paths for example is not a good idea too.

Regards  
Charlie

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [10 May 2024 22:10 UTC](https://forum.robotframework.org/t/named-test-case-in-ride-py/7279/3 "2024-05-10T22:10:19Z")

</div>

What @CharlieScene said is correct, but in this case the error happened due to the way RIDE prepares an argument file with the tests selection. When we say to execute a specific test case (by checking its checkbox), the options `--suite` and `--test` are used. If we don’t select any test, it will run just with the test suite filename or directory.

See below a screen capture, where we can see that a test named `TC Module [2]` was successfully ran when using a wild card in the test specific name or using suites or directories:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/b/bf43245dce20f3c616cd12564056437120352ac7.png)

By the way ;), @honggam124 , you know that Robot Framework accepts localized robot files? And that RIDE is on it’s way to have the interface also in supported languages?

Here is your example test suite:

```robot
Language: Vietnamese

***Các kịch bản kiểm thử***
TC Module [2]
    No Operation

```
