{"action":"opened","issue":{"url":"https://api.github.com/repos/waf-project/waf/issues/1678","labels_url":"https://api.github.com/repos/waf-project/waf/issues/1678/labels{/name}","comments_url":"https://api.github.com/repos/waf-project/waf/issues/1678/comments","events_url":"https://api.github.com/repos/waf-project/waf/issues/1678/events","html_url":"https://github.com/waf-project/waf/issues/1678","id":124968627,"number":1678,"title":"tests: provide a way to always run failed tests","user":{"login":"guludo","id":6026123,"avatar_url":"https://avatars.githubusercontent.com/u/6026123?v=3","gravatar_id":"","url":"https://api.github.com/users/guludo","html_url":"https://github.com/guludo","followers_url":"https://api.github.com/users/guludo/followers","following_url":"https://api.github.com/users/guludo/following{/other_user}","gists_url":"https://api.github.com/users/guludo/gists{/gist_id}","starred_url":"https://api.github.com/users/guludo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guludo/subscriptions","organizations_url":"https://api.github.com/users/guludo/orgs","repos_url":"https://api.github.com/users/guludo/repos","events_url":"https://api.github.com/users/guludo/events{/privacy}","received_events_url":"https://api.github.com/users/guludo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-05T13:40:27Z","updated_at":"2016-01-05T13:40:27Z","closed_at":null,"body":"Currently, by default, waf_unit_test tool doesn't run tests that have been run before. I think that is good for tests that have succeed. However, that might not be so good for tests that fail.\r\n\r\nConsider the following example. Let's say we have N failing tests and we're working on fixing them. Then we fix almost all of them. By just running the tests with the default behavior, if they have been run before, one or more tests might not be run, and we might think our work is done.\r\n\r\nI know that situation can be avoided by using `--alltests` option, but that would make waf run unrelated tests unnecessarily.\r\n\r\nThus, I propose the addition of a way of always run the failed tests in subsequent calls to build. I'd love it to be the default behavior, but I doubt that will be possible. If really not, an command line option could enable that."}}