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

Previous class tests run when only selecting 1 test to run #5

Open
helloandrewpark opened this issue Apr 15, 2015 · 4 comments
Open

Comments

@helloandrewpark
Copy link

I created 2 test classes, Test1 and Test2 and put breakpoints in all the it blocks. When I tell XCode to only run Test2 tests, it first runs the tests in Test1. when only importing Kiwi, this doesn't happen.
(although with Kiwi it still goes through the describe and context, but not through the it)

@paulz
Copy link
Contributor

paulz commented Apr 16, 2015

nice catch, @helloandrewpark
would you share a sample project with Test1 and Test2?
or would you fork this repo and update example?
thank you!

@helloandrewpark
Copy link
Author

Here is the git repo https://github.com/helloandrewpark/KIFKiwiBug
To test it, I put a breakpoint in KiwiTestTests.m beforeAll, and ran the Kiwi2Tests.m

Thanks!

@paulz
Copy link
Contributor

paulz commented Apr 23, 2015

interesting, thank you @helloandrewpark for the test case!

@helloandrewpark
Copy link
Author

@paulz no problem, thanks for all your work! Really appreciate it

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