{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/2087","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/2087/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/2087/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/2087/events","html_url":"https://github.com/robotframework/robotframework/issues/2087","id":99197082,"number":2087,"title":"New `SKIP` status for tests","user":{"login":"pekkaklarck","id":114985,"avatar_url":"https://avatars.githubusercontent.com/u/114985?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkaklarck","html_url":"https://github.com/pekkaklarck","followers_url":"https://api.github.com/users/pekkaklarck/followers","following_url":"https://api.github.com/users/pekkaklarck/following{/other_user}","gists_url":"https://api.github.com/users/pekkaklarck/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkaklarck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkaklarck/subscriptions","organizations_url":"https://api.github.com/users/pekkaklarck/orgs","repos_url":"https://api.github.com/users/pekkaklarck/repos","events_url":"https://api.github.com/users/pekkaklarck/events{/privacy}","received_events_url":"https://api.github.com/users/pekkaklarck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotframework/robotframework/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/robotframework/robotframework/labels/prio-medium","name":"prio-medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-05T12:48:09Z","updated_at":"2015-10-21T13:35:10Z","closed_at":null,"body":"There have been several requests to be able to mark tests skipped: #812, #837, #964, #1732, #2064. Some of them use different term than skip (e.g. warn or blacklist) but the basic idea is similar.\r\n\r\nSo far all such requests have been rejected because Robot Framework already has a concept of non-critical tests and non-critical failures with a clear error message can be used to emulate skipping. I'm not inherently against skipping, though, and see that explicit SKIP status would often be more clear than non-critical FAIL. Many other test tool also has such status and being compatible with them would be nice.\r\n\r\nI'm not planning to implement this functionality in the foreseeable future, but I wanted to open an issue about it to have a place where to discuss it. The main problem with implementation is that it would be quite a big task. The first step would be designing how the functionality actually should work. At least these things should be taken into account:\r\n\r\n1. How to mark a test skipped. Possibilities include:\r\n  - Based on tags from the command line.\r\n  - Using a BuiltIn keyowrd.\r\n  - Using a custom exception in a test library.\r\n \r\n2. How skipped tests affect statistics?\r\n\r\n3. How skipped tests affect overall execution result? What should the report background be if there are passed and skipped tests in a suite? What if there are only skipped?\r\n\r\nI encourage people interested about the skip status to comment here or possibly start a discussion on the robotframework-users mailing list or on the new Slack community. If we can agree with the overall design, someone can then start actually implementing the functionality."},"comment":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/comments/149897493","html_url":"https://github.com/robotframework/robotframework/issues/2087#issuecomment-149897493","issue_url":"https://api.github.com/repos/robotframework/robotframework/issues/2087","id":149897493,"user":{"login":"Doug8080","id":12747505,"avatar_url":"https://avatars.githubusercontent.com/u/12747505?v=3","gravatar_id":"","url":"https://api.github.com/users/Doug8080","html_url":"https://github.com/Doug8080","followers_url":"https://api.github.com/users/Doug8080/followers","following_url":"https://api.github.com/users/Doug8080/following{/other_user}","gists_url":"https://api.github.com/users/Doug8080/gists{/gist_id}","starred_url":"https://api.github.com/users/Doug8080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doug8080/subscriptions","organizations_url":"https://api.github.com/users/Doug8080/orgs","repos_url":"https://api.github.com/users/Doug8080/repos","events_url":"https://api.github.com/users/Doug8080/events{/privacy}","received_events_url":"https://api.github.com/users/Doug8080/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T13:35:10Z","updated_at":"2015-10-21T13:35:10Z","body":"Hi pekkaklarck, interested to know your thoughts & views on the comment provided by boakley above.\r\nPersonally i feel \"skip execution if | True\" will do all that one needs. One is going to have to do\r\nsomething to determine dynamically if the current testcase should be skipped and so testing the\r\ncondition via the 'If' is all that is needed."}}