{"action":"created","issue":{"url":"https://api.github.com/repos/rosenbrockc/fortpy/issues/25","labels_url":"https://api.github.com/repos/rosenbrockc/fortpy/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/rosenbrockc/fortpy/issues/25/comments","events_url":"https://api.github.com/repos/rosenbrockc/fortpy/issues/25/events","html_url":"https://github.com/rosenbrockc/fortpy/issues/25","id":48311111,"number":25,"title":"Public Routines for Unit Testing","user":{"login":"rosenbrockc","id":7817795,"avatar_url":"https://avatars.githubusercontent.com/u/7817795?v=3","gravatar_id":"","url":"https://api.github.com/users/rosenbrockc","html_url":"https://github.com/rosenbrockc","followers_url":"https://api.github.com/users/rosenbrockc/followers","following_url":"https://api.github.com/users/rosenbrockc/following{/other_user}","gists_url":"https://api.github.com/users/rosenbrockc/gists{/gist_id}","starred_url":"https://api.github.com/users/rosenbrockc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosenbrockc/subscriptions","organizations_url":"https://api.github.com/users/rosenbrockc/orgs","repos_url":"https://api.github.com/users/rosenbrockc/repos","events_url":"https://api.github.com/users/rosenbrockc/events{/privacy}","received_events_url":"https://api.github.com/users/rosenbrockc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rosenbrockc/fortpy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-10T20:39:43Z","updated_at":"2015-04-30T15:54:58Z","closed_at":"2015-04-30T15:54:58Z","body":"At the moment, fortpy checks whether a routine you are trying to unit test is marked as public in the module. If it isn't then it warns you, but does nothing. What it ought to do is copy the module to the staging folder for the unit test and then _insert_ the extra public declaration for that one routine so that it would still compile properly. This is especially true for initialization type routines where it is obvious that they shouldn't be public. The developer doesn't want to make everything in the module public just so the unit tests work."},"comment":{"url":"https://api.github.com/repos/rosenbrockc/fortpy/issues/comments/97849408","html_url":"https://github.com/rosenbrockc/fortpy/issues/25#issuecomment-97849408","issue_url":"https://api.github.com/repos/rosenbrockc/fortpy/issues/25","id":97849408,"user":{"login":"rosenbrockc","id":7817795,"avatar_url":"https://avatars.githubusercontent.com/u/7817795?v=3","gravatar_id":"","url":"https://api.github.com/users/rosenbrockc","html_url":"https://github.com/rosenbrockc","followers_url":"https://api.github.com/users/rosenbrockc/followers","following_url":"https://api.github.com/users/rosenbrockc/following{/other_user}","gists_url":"https://api.github.com/users/rosenbrockc/gists{/gist_id}","starred_url":"https://api.github.com/users/rosenbrockc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosenbrockc/subscriptions","organizations_url":"https://api.github.com/users/rosenbrockc/orgs","repos_url":"https://api.github.com/users/rosenbrockc/repos","events_url":"https://api.github.com/users/rosenbrockc/events{/privacy}","received_events_url":"https://api.github.com/users/rosenbrockc/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T15:54:58Z","updated_at":"2015-04-30T15:54:58Z","body":"Present by Revision 1.5.2; can't remember when it first got fixed."}}