Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-High Target-2.5.6 bwic

New issue 776 by pekka.klarck: Allow using special `NONE` value to indicate there is no setup, teardown, tags, template or timeot
http://code.google.com/p/robotframework/issues/detail?id=776

This enhancement has two benefits:

1) It is possible to enable/disable these settings with variables:

***Settings***
Suite Setup   ${SETUP}
Test Timeout  ${TIMEOUT}


***Variables***
${SETUP}  Start Server
${TIMEOUT}  NONE

pybot --variable TIMEOUT:1minute --variable SETUP:NONE tests.txt


2) Resetting default values set in the Setting table in test case level gets cleaner:

***Settings***
Test Setup  Example Keyword
Default Tags  Example  Tags

***Test Case***
Example
  [Setup]  NONE
  [Tags]  NONE
  No Operation


This change is potentially backwards incompatible because someone could have keyword or tag with name None but I guess that's pretty unlikely. To make that even more unlikely, and easy to workaround, we could require this special value to be case-sensitively NONE, but I don't think that's necessary.


Reply via email to