{"action":"created","issue":{"url":"https://api.github.com/repos/rec/tdsp/issues/4","repository_url":"https://api.github.com/repos/rec/tdsp","labels_url":"https://api.github.com/repos/rec/tdsp/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rec/tdsp/issues/4/comments","events_url":"https://api.github.com/repos/rec/tdsp/issues/4/events","html_url":"https://github.com/rec/tdsp/issues/4","id":152847662,"number":4,"title":"\"limited install\" target for testing .so functionality with a test script.","user":{"login":"rec","id":253362,"avatar_url":"https://avatars.githubusercontent.com/u/253362?v=3","gravatar_id":"","url":"https://api.github.com/users/rec","html_url":"https://github.com/rec","followers_url":"https://api.github.com/users/rec/followers","following_url":"https://api.github.com/users/rec/following{/other_user}","gists_url":"https://api.github.com/users/rec/gists{/gist_id}","starred_url":"https://api.github.com/users/rec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rec/subscriptions","organizations_url":"https://api.github.com/users/rec/orgs","repos_url":"https://api.github.com/users/rec/repos","events_url":"https://api.github.com/users/rec/events{/privacy}","received_events_url":"https://api.github.com/users/rec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rec/tdsp/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T18:51:50Z","updated_at":"2016-05-15T15:51:40Z","closed_at":"2016-05-15T15:51:14Z","body":"Right now, we have pure C++ unit tests (not enough of them but more to come of course) as part of our build.\r\n\r\nWhat I also do is test from the Python end that generated .so, the binary Python extension, actually works.  I have a very minimal test script [here](https://github.com/rec/tdsp/blob/866e21e5f9ae664bd222cd97b9009284d251f3f4/test.py) which I could easily expand into Python unit tests - except if I use the `install` target to `setup.py` then it installs this yet-to-be tested binary into my Python path!\r\n\r\nRight now I cheat, by having a symbolic link from the build directory that I haven't checked in which makes it all work.\r\n\r\nWe need to resolve this and then write some actual unit tests and demonstrations in Python."},"comment":{"url":"https://api.github.com/repos/rec/tdsp/issues/comments/219293611","html_url":"https://github.com/rec/tdsp/issues/4#issuecomment-219293611","issue_url":"https://api.github.com/repos/rec/tdsp/issues/4","id":219293611,"user":{"login":"rec","id":253362,"avatar_url":"https://avatars.githubusercontent.com/u/253362?v=3","gravatar_id":"","url":"https://api.github.com/users/rec","html_url":"https://github.com/rec","followers_url":"https://api.github.com/users/rec/followers","following_url":"https://api.github.com/users/rec/following{/other_user}","gists_url":"https://api.github.com/users/rec/gists{/gist_id}","starred_url":"https://api.github.com/users/rec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rec/subscriptions","organizations_url":"https://api.github.com/users/rec/orgs","repos_url":"https://api.github.com/users/rec/repos","events_url":"https://api.github.com/users/rec/events{/privacy}","received_events_url":"https://api.github.com/users/rec/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T15:51:40Z","updated_at":"2016-05-15T15:51:40Z","body":"We have this in setup.py, though it needs to be refined to work outside my machine.  :-D"}}