Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "--dryrun" do in Robot Framework pybot command?

I have used --dryrun along with my pybot command; I want to know what exactly it validates for in testcase or in library.

like image 319
pankmish Avatar asked Feb 09 '23 21:02

pankmish


1 Answers

It parses all of the test suites and executes the tests. It does not execute any keywords, but it does parse them for correctness. The main benefits listed by the user guide are:

  • Using keywords that are not found.
  • Using keywords with wrong number of arguments.
  • Using user keywords that have invalid syntax.
  • In addition to these failures, normal execution errors are shown, for example, when test library or resource file imports cannot be resolved.

For more information see http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#dry-run

like image 134
Bryan Oakley Avatar answered Apr 02 '23 00:04

Bryan Oakley