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

Adapt tests' execution to relevant OS only #30

Open
Toparvion opened this issue Mar 23, 2020 · 1 comment
Open

Adapt tests' execution to relevant OS only #30

Toparvion opened this issue Mar 23, 2020 · 1 comment
Assignees

Comments

@Toparvion
Copy link
Owner

Some tests in AnaLog are platform dependent, for example those for checking symlink resolution of Log Access Guard.
Such tests must take in count current OS and be capable to exclude/include some check basing on it.

As a consequence, the tests must be run in several environments, ideally in Linux, macOS and Windows. This can be achieved with recently introduced Travis CI integration (see its documentation).

@Toparvion Toparvion self-assigned this Mar 23, 2020
@Toparvion
Copy link
Owner Author

From the tests' point of view, the corresponding separation can be achieved by leveraging JUnit's org.junit.jupiter.api.condition.EnabledOnOs conditional annotation (see the doc).

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

No branches or pull requests

1 participant