Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow input filenames in the same format as Robot #43

Open
KrzysztofJozefowicz opened this issue Jun 13, 2017 · 4 comments
Open

allow input filenames in the same format as Robot #43

KrzysztofJozefowicz opened this issue Jun 13, 2017 · 4 comments

Comments

@KrzysztofJozefowicz
Copy link

Hi
currently RfLint accepts either path to filename or folder with recursive search.
It would be very useful to allow user to use Robot format for TestSuites as well so the same arguments for Robot could be used in RfLint:
What I mean is to:

@boakley
Copy link
Owner

boakley commented Jun 13, 2017

I will consider this, but I doubt that I will implement it. I don't see any value to adding this feature.

The main purpose of the tool is to check whole files, not individual tests. Why do you need to specify specific files, and why can't you specify suites by simply providing that suite as an argument?

@KrzysztofJozefowicz
Copy link
Author

Hi
This is connected with #44, if user already can create argument file for robot testrun, it would be consistent to use the same argument file as input for rflint.
One way of specifying suites is to provide a path to project and path to suite by -s ProjectName.SubFolders.SuteName path-to-project
This is the case where testSuite is not defined by system path with extension.

@boakley
Copy link
Owner

boakley commented Jun 13, 2017 via email

@KrzysztofJozefowicz
Copy link
Author

Let me provide example what I meant by " testSuite is not defined by system path with extension."
Consider following folder tree:

  • /home/myRobot
    -- mytest.robot
    -- subdir/mytest2.robot

Robot & RfLint can execute following suites by robot eh: robot /home/myRobot/mytest.robot or robot /home/myRobot/subdir/mytest2.robot
there is also -s switch which can run suites as follows :
robot -s myRobot.mytest /home/myRobot or robot -s myRobot.subdir.mytest2 /home/myRobot

This way only project/parent dir path is specified, suites follows path by
dir.subdir.suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants