Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove exe from testdata #561

Merged
merged 1 commit into from
Jul 26, 2024
Merged

remove exe from testdata #561

merged 1 commit into from
Jul 26, 2024

Conversation

gabriel-vasile
Copy link
Owner

@gabriel-vasile gabriel-vasile commented Jul 26, 2024

After considering #550 and #551, it seems it's hard to create a windows executable that satisfies these 2 conditions:

  • is small in size
  • does not trigger antivirus alerts; seems like many antiviruses just don't care what's inside an exe. If it's .exe then it's a virus.

But it's not all on the antiviruses. Looking back on it, adding fixture files is not perfect: seems nice to have the library tests work with real files, but:

  • it does not count towards test-coverage
  • real files increase repo size

Going forward I think I will remove more and more of the files in testdata folder, and add more unit tests.

After considering #550 and #551, there seems it's hard to create a
windows executable that satisfies these 2 conditions:
- is small in size
- does not trigger antivirus alerts; seems like many antiviruses just
  don't care what's inside an exe. If it's .exe then it's a virus.

Looking back on it, adding fixture files is not perfect: seems nice to
have the library tests work with real files, but:
- it does not count towards test-coverage
- real files increase repo size

Going forward I think I will remove more and more of the files in
testdata folder, and add more unit tests.
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.

1 participant