{"action":"created","issue":{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/553","labels_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/553/labels{/name}","comments_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/553/comments","events_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/553/events","html_url":"https://github.com/HP-Enterprise/BriAir/issues/553","id":111344019,"number":553,"title":"规格化测试数据","user":{"login":"AceBear","id":5030312,"avatar_url":"https://avatars.githubusercontent.com/u/5030312?v=3","gravatar_id":"","url":"https://api.github.com/users/AceBear","html_url":"https://github.com/AceBear","followers_url":"https://api.github.com/users/AceBear/followers","following_url":"https://api.github.com/users/AceBear/following{/other_user}","gists_url":"https://api.github.com/users/AceBear/gists{/gist_id}","starred_url":"https://api.github.com/users/AceBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AceBear/subscriptions","organizations_url":"https://api.github.com/users/AceBear/orgs","repos_url":"https://api.github.com/users/AceBear/repos","events_url":"https://api.github.com/users/AceBear/events{/privacy}","received_events_url":"https://api.github.com/users/AceBear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/labels/Design","name":"Design","color":"9319e7"}],"state":"open","locked":false,"assignee":{"login":"jiangli0509","id":5874912,"avatar_url":"https://avatars.githubusercontent.com/u/5874912?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangli0509","html_url":"https://github.com/jiangli0509","followers_url":"https://api.github.com/users/jiangli0509/followers","following_url":"https://api.github.com/users/jiangli0509/following{/other_user}","gists_url":"https://api.github.com/users/jiangli0509/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangli0509/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangli0509/subscriptions","organizations_url":"https://api.github.com/users/jiangli0509/orgs","repos_url":"https://api.github.com/users/jiangli0509/repos","events_url":"https://api.github.com/users/jiangli0509/events{/privacy}","received_events_url":"https://api.github.com/users/jiangli0509/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/milestones/10","html_url":"https://github.com/HP-Enterprise/BriAir/milestones/M10-ForStabling","labels_url":"https://api.github.com/repos/HP-Enterprise/BriAir/milestones/10/labels","id":1306591,"number":10,"title":"M10-ForStabling","description":"稳定基础功能","creator":{"login":"AceBear","id":5030312,"avatar_url":"https://avatars.githubusercontent.com/u/5030312?v=3","gravatar_id":"","url":"https://api.github.com/users/AceBear","html_url":"https://github.com/AceBear","followers_url":"https://api.github.com/users/AceBear/followers","following_url":"https://api.github.com/users/AceBear/following{/other_user}","gists_url":"https://api.github.com/users/AceBear/gists{/gist_id}","starred_url":"https://api.github.com/users/AceBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AceBear/subscriptions","organizations_url":"https://api.github.com/users/AceBear/orgs","repos_url":"https://api.github.com/users/AceBear/repos","events_url":"https://api.github.com/users/AceBear/events{/privacy}","received_events_url":"https://api.github.com/users/AceBear/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":18,"state":"open","created_at":"2015-09-15T15:04:07Z","updated_at":"2015-10-15T02:50:21Z","due_on":"2015-10-16T16:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-14T07:57:17Z","updated_at":"2015-10-15T02:57:01Z","closed_at":null,"body":"准备一套规格化测试用的测试数据\r\n\r\n+ 测试数据由某个单元测试的某个方法X写入\r\n+ 此方法X应当是幂等的,即可以反复执行,而测试数据都一致\r\n+ 各种数据是是齐全的,即模拟一个最小化的真实运行环境中的组织,组织中配置若干个用户和车辆,各种权限的用户,有TBOX的车辆,无TBOX的车辆,没有绑定的车辆,已绑定用户的车辆\r\n+ 最后写一份文档,对测试数据做一个简要说明"},"comment":{"url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/comments/148266725","html_url":"https://github.com/HP-Enterprise/BriAir/issues/553#issuecomment-148266725","issue_url":"https://api.github.com/repos/HP-Enterprise/BriAir/issues/553","id":148266725,"user":{"login":"AceBear","id":5030312,"avatar_url":"https://avatars.githubusercontent.com/u/5030312?v=3","gravatar_id":"","url":"https://api.github.com/users/AceBear","html_url":"https://github.com/AceBear","followers_url":"https://api.github.com/users/AceBear/followers","following_url":"https://api.github.com/users/AceBear/following{/other_user}","gists_url":"https://api.github.com/users/AceBear/gists{/gist_id}","starred_url":"https://api.github.com/users/AceBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AceBear/subscriptions","organizations_url":"https://api.github.com/users/AceBear/orgs","repos_url":"https://api.github.com/users/AceBear/repos","events_url":"https://api.github.com/users/AceBear/events{/privacy}","received_events_url":"https://api.github.com/users/AceBear/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T02:57:01Z","updated_at":"2015-10-15T02:57:01Z","body":"1. 测试数据写在test里 $/src/test, 但不是测试用例\r\n2. 只要有测试数据,无论具体技术手段\r\n3. 是\r\n4. 一个算OK, 多个更佳\r\n5. 其它人能看明白就行, best 用MD文档\r\n"}}