Comments (9)
Well, thank you for this excellent RF extension! It's really indispensable.
from robotframework-datadriver.
Hi @nizwiz
Can you tell me a bit more about the use case?
Because DYNAMICTESTS where introduced for Pabot and for automatic selection by code.
is has not been designed to be used by humans.
The suite can only be skipped if exactly one suite is used.
from robotframework-datadriver.
With use case i mean in which situation are you using that and why can you not use tags or other things.
from robotframework-datadriver.
Well, the use case is pretty much as described in section "Selection of test cases by name" in Readme.rst.
I am currently looking to automate a bunch of very repetitive, parametrized test cases my colleagues are currently running in a semi-automatic fashion (using sophisticated Excel sheets with a lot of formulae). After full automation, they still want to be able to run selected test cases without having to execute the whole suite (which is rather lengthy). And with "selection" they really mean "a more or less random bunch" - without any categorization that could be made a priori. So tagging is really not applicable (basically, you'd have to have an individual tag for each line of the csv file, which - while technically possible - I'd rather not do because it blows up the report.html; BTW, I've actually tried this approach out, because specifiying tags seemed easier than specifying test cases via ${DYNAMICTESTS}).
from robotframework-datadriver.
Hm....
Let me think about this.
Maybe there should be another variable that can specify a "simple pattern" or glob?
but i think a better approach for you would be a Variablefile!
define a yaml variable file with the test case names as a list and hand it over to robot.
that should make this ugly command line better.
from robotframework-datadriver.
DYNAMICTESTS:
- MyDataDrivenTestSuiteWithParticularlyLongName.0101
- MyDataDrivenTestSuiteWithParticularlyLongName.0102
- MyDataDrivenTestSuiteWithParticularlyLongName.0103
from robotframework-datadriver.
Oh wait, I'm actually also using pabot with --testlevelsplit (because each test case spends a considerable amount of time just waiting for a result to be computed). I've double-checked and, in deed, when using pabot together with DYNAMICTESTS, there doesn't seem to be any parallelization. I guess I'll have to use tags anyhow, then.
@Snooz82 You can close this ticket if you like.
But maybe the aforementioned section in Readme.tst should contain a note pointing out that DYNAMICTESTS cannot be used in conjunction with pabot. I for one really wasn't aware of the fact that DYNAMICTESTS is used internally to make pabot work.
from robotframework-datadriver.
Good point!
from robotframework-datadriver.
I will let it open as a maker for me to do that addition to docs!
thanks for your contribution!!!
from robotframework-datadriver.
Related Issues (20)
- `|` in test case name leads to not-executable tests with pabot and testlevelsplit HOT 1
- [Documentation] field on Test Case template not honored HOT 1
- Read literal "null" string from excel file HOT 4
- Variable '&{inputs}' not found. HOT 1
- Pabot Data Driver optimization HOT 1
- Datadriver not picking up timeout value from suite
- Unable to import robotframework-datadriver HOT 1
- [ ERROR ] Calling method '_start_suite' of listener 'DataDriver' failed: HOT 2
- -i tags does not work when [Tags] is column in excel sheet HOT 4
- Spaces around variablenames in CSV header destroy variable recognition HOT 4
- Unable to use dictionary variables in testcase names.
- Modify documentation - Force Tags and Default tags are deprecated
- DataDriver Run in Python with tags (include) HOT 6
- I am using data driver library. How can I include tags at test level when I have test template (suite). I tried giving [Tags] in excel but It's not working? do we have any solution? HOT 1
- Robot 6.1 compatibility HOT 6
- bug: importing a custom reader class from module doesn't work HOT 1
- All tests of a suite are run, if include tag not available in data file
- how to parse all .py files under a testcase dir and generate robot testcases dynamic using robotframework-datadriver lib
- https://docs.robotframework.org/docs/testcase_styles/datadriven interactive example is broken HOT 2
- Rerun failed tests raise an error in the latest 1.11.0 version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotframework-datadriver.