Giter Site home page Giter Site logo

Comments (8)

simonmeggle avatar simonmeggle commented on May 20, 2024

WIP in branch bakery

from robotmk.

simonmeggle avatar simonmeggle commented on May 20, 2024

Proposal for Robot arguments which should be supported in the bakery rule and the agent plugin:

Must-be:

  • --name: Set the name of the top level suite. Overrides auto naming from top level dir or robot file.
  • --suite: Select suites by name pattern
  • --test: Select tests by name pattern
  • --include: Select tests by tag pattern (exists already -> rename)
  • --exclude: Exclude tests by tag pattern
  • --variablefile: Load variables from file
  • --exitonfailure=True: lets RF exit the whole suite if one test failed. (default is to execute all tests)

Optional:

  • --critical/--noncritical - pattern which tests are considered critical = can raise exceptions.

from robotmk.

simonmeggle avatar simonmeggle commented on May 20, 2024

#27 describes how the bakery could clone the test repository and bake the test files into the agent.

from robotmk.

mike1098 avatar mike1098 commented on May 20, 2024

This is done with agent bakery rule "Deploy custom files with agent". Tested and works.

from robotmk.

simonmeggle avatar simonmeggle commented on May 20, 2024

What I wanted to remark is the possibility to include a version controlled test dir. For now it is ok to deliver the files with the existent bakery rule you mentioned.

from robotmk.

simonmeggle avatar simonmeggle commented on May 20, 2024

@guillaume-durville : argumentfile is not a valid parameter when calling robot via python. I just have seen this.
Options that do not take an argument (like exitonfailure) are given as boolean parameters: exitonfailure=True

from robotmk.

simonmeggle avatar simonmeggle commented on May 20, 2024

I have now written tests for the agent plugin and almost each possible robot argument (see above).
For reference, you can inspect the robotmk.yml files for each test/argument in https://github.com/simonmeggle/robotmk/tree/agentplugin/test/fixtures/plugin.

from robotmk.

simonmeggle avatar simonmeggle commented on May 20, 2024

(already solved)

from robotmk.

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.