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

*testJ2objc* should skip rather than fail classes in test folder which have zero test methods #594

Open
adil-hussain-84 opened this issue Feb 8, 2016 · 1 comment

Comments

@adil-hussain-84
Copy link

I'm noticing that the j2objcTestDebug Gradle step which calls the testJ2objc script fails if I have any classes in my test folder (mocks and helper classes for example) which have zero test methods. Would be great if this Gradle step / test script skipped over classes that have zero test methods rather than failing the build.

I'm aware that there is a workaround which is to add include and exclude patterns in my SharedCode/build.gradle file for classes that are to be tested or not. The problem with this is that it's one more part of the build process to remember and maintain and could involuntarily lead to test classes being ignored that match the exclude pattern or don't match the include pattern.

(My tests btw are written in the JUnit 4 syntax.)

@peetron
Copy link

peetron commented Apr 19, 2016

Hi, Are there any updates on this?

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