{"action":"created","issue":{"url":"https://api.github.com/repos/yyang42/moulitest/issues/101","labels_url":"https://api.github.com/repos/yyang42/moulitest/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/yyang42/moulitest/issues/101/comments","events_url":"https://api.github.com/repos/yyang42/moulitest/issues/101/events","html_url":"https://github.com/yyang42/moulitest/issues/101","id":57696647,"number":101,"title":"Option to select which test to run","user":{"login":"roblabla","id":1069318,"avatar_url":"https://avatars.githubusercontent.com/u/1069318?v=3","gravatar_id":"","url":"https://api.github.com/users/roblabla","html_url":"https://github.com/roblabla","followers_url":"https://api.github.com/users/roblabla/followers","following_url":"https://api.github.com/users/roblabla/following{/other_user}","gists_url":"https://api.github.com/users/roblabla/gists{/gist_id}","starred_url":"https://api.github.com/users/roblabla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblabla/subscriptions","organizations_url":"https://api.github.com/users/roblabla/orgs","repos_url":"https://api.github.com/users/roblabla/repos","events_url":"https://api.github.com/users/roblabla/events{/privacy}","received_events_url":"https://api.github.com/users/roblabla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-14T15:39:16Z","updated_at":"2015-02-16T09:52:31Z","closed_at":null,"body":"Currently, if tests somehow affect eachother (get_next_line, for instance, with the static variable), it is impossible to run each test independently.\r\n\r\nWhat I suggest is adding an argument to the moulitest script that, when specified, would list the tests to run (through a grep or whatnot). For instance, if I do ``moulitest isprint``, when the tests are ``ft_isprint.spec.c ft_isalpha.spec.c``, it would run only the ``ft_isprint.spec.c`` test.\r\n\r\nThis would require moving the responsibility of finding the test files from the Makefile to the Python script."},"comment":{"url":"https://api.github.com/repos/yyang42/moulitest/issues/comments/74483101","html_url":"https://github.com/yyang42/moulitest/issues/101#issuecomment-74483101","issue_url":"https://api.github.com/repos/yyang42/moulitest/issues/101","id":74483101,"user":{"login":"yyang42","id":3263787,"avatar_url":"https://avatars.githubusercontent.com/u/3263787?v=3","gravatar_id":"","url":"https://api.github.com/users/yyang42","html_url":"https://github.com/yyang42","followers_url":"https://api.github.com/users/yyang42/followers","following_url":"https://api.github.com/users/yyang42/following{/other_user}","gists_url":"https://api.github.com/users/yyang42/gists{/gist_id}","starred_url":"https://api.github.com/users/yyang42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyang42/subscriptions","organizations_url":"https://api.github.com/users/yyang42/orgs","repos_url":"https://api.github.com/users/yyang42/repos","events_url":"https://api.github.com/users/yyang42/events{/privacy}","received_events_url":"https://api.github.com/users/yyang42/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T09:52:31Z","updated_at":"2015-02-16T09:52:31Z","body":"Good idea.\r\nThe Makefile has already a pattern matching variable called PATTERN but I didn't had time yet to adapt it with the new version of moulitest."}}