{"action":"created","comment":{"url":"https://api.github.com/repos/szeged/js-test-generators/pulls/comments/240527368","pull_request_review_id":183573899,"id":240527368,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDUyNzM2OA==","diff_hunk":"@@ -0,0 +1,134 @@\n+#!/usr/bin/env python\n+import sys\n+import os\n+import settings\n+import random\n+path = os.path.join(settings.TEMPLATE_DIR)\n+sys.path.append(path)\n+import validate\n+import messages\n+from generator_base import Generator\n+from constants import _constants\n+from parse_args import parse_args\n+from utils import write_file\n+\n+class Function_Call_Generator(Generator):\n+    class _InnerValues():\n+        b = '''b{NUMBER}'''\n+        generated_filename = '''function-call-{NUMBER}.js''' # The file name of the generated tests\n+        false_values_count = 5 # The number of false values generated for each tests\n+        args_min = 1 # Minimum arguments\n+        args_max = 255 # Maximum arguments\n+        test_case_in_a_file = 70 # The number of test cases before new file begins\n+        test_cases = ['args', 'call', 'apply', 'bind', 'recursive'] # The possible test cases","path":"src/scripts/generate-function-call.py","position":23,"original_position":23,"commit_id":"dff9da1093c40c9864dfe693910be01b617e82e1","original_commit_id":"dff9da1093c40c9864dfe693910be01b617e82e1","user":{"login":"rerobika","id":22135179,"node_id":"MDQ6VXNlcjIyMTM1MTc5","avatar_url":"https://avatars0.githubusercontent.com/u/22135179?v=4","gravatar_id":"","url":"https://api.github.com/users/rerobika","html_url":"https://github.com/rerobika","followers_url":"https://api.github.com/users/rerobika/followers","following_url":"https://api.github.com/users/rerobika/following{/other_user}","gists_url":"https://api.github.com/users/rerobika/gists{/gist_id}","starred_url":"https://api.github.com/users/rerobika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rerobika/subscriptions","organizations_url":"https://api.github.com/users/rerobika/orgs","repos_url":"https://api.github.com/users/rerobika/repos","events_url":"https://api.github.com/users/rerobika/events{/privacy}","received_events_url":"https://api.github.com/users/rerobika/received_events","type":"User","site_admin":false},"body":"`test_cases = args_and_bind + call_and_apply + ['recursive']`","created_at":"2018-12-11T09:19:25Z","updated_at":"2018-12-11T09:36:59Z","html_url":"https://github.com/szeged/js-test-generators/pull/12#discussion_r240527368","pull_request_url":"https://api.github.com/repos/szeged/js-test-generators/pulls/12","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/szeged/js-test-generators/pulls/comments/240527368"},"html":{"href":"https://github.com/szeged/js-test-generators/pull/12#discussion_r240527368"},"pull_request":{"href":"https://api.github.com/repos/szeged/js-test-generators/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/szeged/js-test-generators/pulls/12","id":235813879,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1ODEzODc5","html_url":"https://github.com/szeged/js-test-generators/pull/12","diff_url":"https://github.com/szeged/js-test-generators/pull/12.diff","patch_url":"https://github.com/szeged/js-test-generators/pull/12.patch","issue_url":"https://api.github.com/repos/szeged/js-test-generators/issues/12","number":12,"state":"open","locked":false,"title":"Function call generator","user":{"login":"repasics","id":44167109,"node_id":"MDQ6VXNlcjQ0MTY3MTA5","avatar_url":"https://avatars1.githubusercontent.com/u/44167109?v=4","gravatar_id":"","url":"https://api.github.com/users/repasics","html_url":"https://github.com/repasics","followers_url":"https://api.github.com/users/repasics/followers","following_url":"https://api.github.com/users/repasics/following{/other_user}","gists_url":"https://api.github.com/users/repasics/gists{/gist_id}","starred_url":"https://api.github.com/users/repasics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repasics/subscriptions","organizations_url":"https://api.github.com/users/repasics/orgs","repos_url":"https://api.github.com/users/repasics/repos","events_url":"https://api.github.com/users/repasics/events{/privacy}","received_events_url":"https://api.github.com/users/repasics/received_events","type":"User","site_admin":false},"body":"Added test generator for function call","created_at":"2018-12-04T13:44:36Z","updated_at":"2018-12-11T09:36:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e26bb32044ed20a8b6a52c9c76a249d827724e61","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/szeged/js-test-generators/pulls/12/commits","review_comments_url":"https://api.github.com/repos/szeged/js-test-generators/pulls/12/comments","review_comment_url":"https://api.github.com/repos/szeged/js-test-generators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/szeged/js-test-generators/issues/12/comments","statuses_url":"https://api.github.com/repos/szeged/js-test-generators/statuses/dff9da1093c40c9864dfe693910be01b617e82e1","head":{"label":"repasics:functioncall","ref":"functioncall","sha":"dff9da1093c40c9864dfe693910be01b617e82e1","user":{"login":"repasics","id":44167109,"node_id":"MDQ6VXNlcjQ0MTY3MTA5","avatar_url":"https://avatars1.githubusercontent.com/u/44167109?v=4","gravatar_id":"","url":"https://api.github.com/users/repasics","html_url":"https://github.com/repasics","followers_url":"https://api.github.com/users/repasics/followers","following_url":"https://api.github.com/users/repasics/following{/other_user}","gists_url":"https://api.github.com/users/repasics/gists{/gist_id}","starred_url":"https://api.github.com/users/repasics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repasics/subscriptions","organizations_url":"https://api.github.com/users/repasics/orgs","repos_url":"https://api.github.com/users/repasics/repos","events_url":"https://api.github.com/users/repasics/events{/privacy}","received_events_url":"https://api.github.com/users/repasics/received_events","type":"User","site_admin":false},"repo":{"id":156358000,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYzNTgwMDA=","name":"js-test-generators","full_name":"repasics/js-test-generators","private":false,"owner":{"login":"repasics","id":44167109,"node_id":"MDQ6VXNlcjQ0MTY3MTA5","avatar_url":"https://avatars1.githubusercontent.com/u/44167109?v=4","gravatar_id":"","url":"https://api.github.com/users/repasics","html_url":"https://github.com/repasics","followers_url":"https://api.github.com/users/repasics/followers","following_url":"https://api.github.com/users/repasics/following{/other_user}","gists_url":"https://api.github.com/users/repasics/gists{/gist_id}","starred_url":"https://api.github.com/users/repasics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repasics/subscriptions","organizations_url":"https://api.github.com/users/repasics/orgs","repos_url":"https://api.github.com/users/repasics/repos","events_url":"https://api.github.com/users/repasics/events{/privacy}","received_events_url":"https://api.github.com/users/repasics/received_events","type":"User","site_admin":false},"html_url":"https://github.com/repasics/js-test-generators","description":"JavaScript test case generators","fork":true,"url":"https://api.github.com/repos/repasics/js-test-generators","forks_url":"https://api.github.com/repos/repasics/js-test-generators/forks","keys_url":"https://api.github.com/repos/repasics/js-test-generators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/repasics/js-test-generators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/repasics/js-test-generators/teams","hooks_url":"https://api.github.com/repos/repasics/js-test-generators/hooks","issue_events_url":"https://api.github.com/repos/repasics/js-test-generators/issues/events{/number}","events_url":"https://api.github.com/repos/repasics/js-test-generators/events","assignees_url":"https://api.github.com/repos/repasics/js-test-generators/assignees{/user}","branches_url":"https://api.github.com/repos/repasics/js-test-generators/branches{/branch}","tags_url":"https://api.github.com/repos/repasics/js-test-generators/tags","blobs_url":"https://api.github.com/repos/repasics/js-test-generators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/repasics/js-test-generators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/repasics/js-test-generators/git/refs{/sha}","trees_url":"https://api.github.com/repos/repasics/js-test-generators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/repasics/js-test-generators/statuses/{sha}","languages_url":"https://api.github.com/repos/repasics/js-test-generators/languages","stargazers_url":"https://api.github.com/repos/repasics/js-test-generators/stargazers","contributors_url":"https://api.github.com/repos/repasics/js-test-generators/contributors","subscribers_url":"https://api.github.com/repos/repasics/js-test-generators/subscribers","subscription_url":"https://api.github.com/repos/repasics/js-test-generators/subscription","commits_url":"https://api.github.com/repos/repasics/js-test-generators/commits{/sha}","git_commits_url":"https://api.github.com/repos/repasics/js-test-generators/git/commits{/sha}","comments_url":"https://api.github.com/repos/repasics/js-test-generators/comments{/number}","issue_comment_url":"https://api.github.com/repos/repasics/js-test-generators/issues/comments{/number}","contents_url":"https://api.github.com/repos/repasics/js-test-generators/contents/{+path}","compare_url":"https://api.github.com/repos/repasics/js-test-generators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/repasics/js-test-generators/merges","archive_url":"https://api.github.com/repos/repasics/js-test-generators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/repasics/js-test-generators/downloads","issues_url":"https://api.github.com/repos/repasics/js-test-generators/issues{/number}","pulls_url":"https://api.github.com/repos/repasics/js-test-generators/pulls{/number}","milestones_url":"https://api.github.com/repos/repasics/js-test-generators/milestones{/number}","notifications_url":"https://api.github.com/repos/repasics/js-test-generators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/repasics/js-test-generators/labels{/name}","releases_url":"https://api.github.com/repos/repasics/js-test-generators/releases{/id}","deployments_url":"https://api.github.com/repos/repasics/js-test-generators/deployments","created_at":"2018-11-06T09:22:43Z","updated_at":"2018-12-06T08:10:19Z","pushed_at":"2018-12-11T08:13:36Z","git_url":"git://github.com/repasics/js-test-generators.git","ssh_url":"git@github.com:repasics/js-test-generators.git","clone_url":"https://github.com/repasics/js-test-generators.git","svn_url":"https://github.com/repasics/js-test-generators","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"szeged:master","ref":"master","sha":"1e3f147515a6dcfe2c85db7d17e71bb39da49747","user":{"login":"szeged","id":1826696,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MjY2OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1826696?v=4","gravatar_id":"","url":"https://api.github.com/users/szeged","html_url":"https://github.com/szeged","followers_url":"https://api.github.com/users/szeged/followers","following_url":"https://api.github.com/users/szeged/following{/other_user}","gists_url":"https://api.github.com/users/szeged/gists{/gist_id}","starred_url":"https://api.github.com/users/szeged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeged/subscriptions","organizations_url":"https://api.github.com/users/szeged/orgs","repos_url":"https://api.github.com/users/szeged/repos","events_url":"https://api.github.com/users/szeged/events{/privacy}","received_events_url":"https://api.github.com/users/szeged/received_events","type":"Organization","site_admin":false},"repo":{"id":155559990,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU1NTk5OTA=","name":"js-test-generators","full_name":"szeged/js-test-generators","private":false,"owner":{"login":"szeged","id":1826696,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MjY2OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1826696?v=4","gravatar_id":"","url":"https://api.github.com/users/szeged","html_url":"https://github.com/szeged","followers_url":"https://api.github.com/users/szeged/followers","following_url":"https://api.github.com/users/szeged/following{/other_user}","gists_url":"https://api.github.com/users/szeged/gists{/gist_id}","starred_url":"https://api.github.com/users/szeged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeged/subscriptions","organizations_url":"https://api.github.com/users/szeged/orgs","repos_url":"https://api.github.com/users/szeged/repos","events_url":"https://api.github.com/users/szeged/events{/privacy}","received_events_url":"https://api.github.com/users/szeged/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/szeged/js-test-generators","description":"JavaScript test case generators","fork":false,"url":"https://api.github.com/repos/szeged/js-test-generators","forks_url":"https://api.github.com/repos/szeged/js-test-generators/forks","keys_url":"https://api.github.com/repos/szeged/js-test-generators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/szeged/js-test-generators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/szeged/js-test-generators/teams","hooks_url":"https://api.github.com/repos/szeged/js-test-generators/hooks","issue_events_url":"https://api.github.com/repos/szeged/js-test-generators/issues/events{/number}","events_url":"https://api.github.com/repos/szeged/js-test-generators/events","assignees_url":"https://api.github.com/repos/szeged/js-test-generators/assignees{/user}","branches_url":"https://api.github.com/repos/szeged/js-test-generators/branches{/branch}","tags_url":"https://api.github.com/repos/szeged/js-test-generators/tags","blobs_url":"https://api.github.com/repos/szeged/js-test-generators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/szeged/js-test-generators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/szeged/js-test-generators/git/refs{/sha}","trees_url":"https://api.github.com/repos/szeged/js-test-generators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/szeged/js-test-generators/statuses/{sha}","languages_url":"https://api.github.com/repos/szeged/js-test-generators/languages","stargazers_url":"https://api.github.com/repos/szeged/js-test-generators/stargazers","contributors_url":"https://api.github.com/repos/szeged/js-test-generators/contributors","subscribers_url":"https://api.github.com/repos/szeged/js-test-generators/subscribers","subscription_url":"https://api.github.com/repos/szeged/js-test-generators/subscription","commits_url":"https://api.github.com/repos/szeged/js-test-generators/commits{/sha}","git_commits_url":"https://api.github.com/repos/szeged/js-test-generators/git/commits{/sha}","comments_url":"https://api.github.com/repos/szeged/js-test-generators/comments{/number}","issue_comment_url":"https://api.github.com/repos/szeged/js-test-generators/issues/comments{/number}","contents_url":"https://api.github.com/repos/szeged/js-test-generators/contents/{+path}","compare_url":"https://api.github.com/repos/szeged/js-test-generators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/szeged/js-test-generators/merges","archive_url":"https://api.github.com/repos/szeged/js-test-generators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/szeged/js-test-generators/downloads","issues_url":"https://api.github.com/repos/szeged/js-test-generators/issues{/number}","pulls_url":"https://api.github.com/repos/szeged/js-test-generators/pulls{/number}","milestones_url":"https://api.github.com/repos/szeged/js-test-generators/milestones{/number}","notifications_url":"https://api.github.com/repos/szeged/js-test-generators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/szeged/js-test-generators/labels{/name}","releases_url":"https://api.github.com/repos/szeged/js-test-generators/releases{/id}","deployments_url":"https://api.github.com/repos/szeged/js-test-generators/deployments","created_at":"2018-10-31T13:13:40Z","updated_at":"2018-12-05T17:05:58Z","pushed_at":"2018-12-11T08:13:37Z","git_url":"git://github.com/szeged/js-test-generators.git","ssh_url":"git@github.com:szeged/js-test-generators.git","clone_url":"https://github.com/szeged/js-test-generators.git","svn_url":"https://github.com/szeged/js-test-generators","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/szeged/js-test-generators/pulls/12"},"html":{"href":"https://github.com/szeged/js-test-generators/pull/12"},"issue":{"href":"https://api.github.com/repos/szeged/js-test-generators/issues/12"},"comments":{"href":"https://api.github.com/repos/szeged/js-test-generators/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/szeged/js-test-generators/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/szeged/js-test-generators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/szeged/js-test-generators/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/szeged/js-test-generators/statuses/dff9da1093c40c9864dfe693910be01b617e82e1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rerobika"}}