Skip to content

Conversation

@FanYuliang
Copy link
Contributor

  • find_all_deleted.py can output a json file (new_test_file_deleted.json) that contains the fully-qualified Test name and the first SHA that deletes that test file, which helpes developer find the deleted tests.
  • Each entry in the json contains three elements: URL, packageName.ClassName.methodName, SHA
  • Further automated/ manual checks are required to determine if the test belongs to Deleted or MovedOrRenamed; useful git command: git show <SHA> | grep -C <methodName/method content>

if "[" in test_method_name or "\"" in test_method_name:
print("{}, {} is a PUT; skip".format(url, full_testname))
continue
if testfile_name[-4:] != "Test":

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many tests in pr-data.csv have "Test" in the beginning instead of the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants