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

Separate tests per platforms #1166

Open
ivanayov opened this issue May 11, 2022 · 2 comments
Open

Separate tests per platforms #1166

ivanayov opened this issue May 11, 2022 · 2 comments

Comments

@ivanayov
Copy link
Contributor

Currently all tests are organised together, which makes it hard to run all locally, as they are platform specific, which prevents creating good and simple instructions for #1164.

What do you think about those options?

  1. Separate based on naming or reorganising the tests directory
  2. Abstract platform specific configs, so that same tests can run everywhere.

IMO, the second option, if possible, would be the best, although it would require more effort.

@rnjudge
Copy link
Contributor

rnjudge commented May 13, 2022

When you say platform specific do you mean VM vs Mac vs Linux environment? I think all the tests should run in any of these environments, at least for all the class tests -- are there tests that were not working for you in a certain environment?

@ivanayov
Copy link
Contributor Author

I'm sharing a list of platform specific tests available in the moment. Probably some of them are outdated and we might just need to do a tidy-up rather than major changes.

https://github.com/tern-tools/tern/blob/main/tests/test_analyze_common.py
https://github.com/tern-tools/tern/blob/main/tests/test_analyze_default_filter.py
https://github.com/tern-tools/tern/blob/main/tests/test_class_command.py

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

No branches or pull requests

2 participants