Giter VIP home page Giter VIP logo

Comments (9)

nizwiz avatar nizwiz commented on July 30, 2024 1

Well, thank you for this excellent RF extension! It's really indispensable.

from robotframework-datadriver.

Snooz82 avatar Snooz82 commented on July 30, 2024

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.

Snooz82 avatar Snooz82 commented on July 30, 2024

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.

nizwiz avatar nizwiz commented on July 30, 2024

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.

Snooz82 avatar Snooz82 commented on July 30, 2024

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.

Snooz82 avatar Snooz82 commented on July 30, 2024
DYNAMICTESTS:
  - MyDataDrivenTestSuiteWithParticularlyLongName.0101
  - MyDataDrivenTestSuiteWithParticularlyLongName.0102
  - MyDataDrivenTestSuiteWithParticularlyLongName.0103

from robotframework-datadriver.

nizwiz avatar nizwiz commented on July 30, 2024

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.

Snooz82 avatar Snooz82 commented on July 30, 2024

Good point!

from robotframework-datadriver.

Snooz82 avatar Snooz82 commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.