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

[Feature request] navigate back and forth between class and it's tests #23

Open
delebedev opened this issue Apr 11, 2015 · 2 comments
Open

Comments

@delebedev
Copy link

Like in appcode: you press the keys and xcode goes from className to classNameSpec or classNameTests

I will be glad to do it myself but do not know how to start this one.

@pdcgomes
Copy link
Owner

It was actually one of the first things on my TODO list when I first started this project :)
I do have some degree of support for that (I can index test cases for the current project) but there's still a lot left.

I'm currently adding support for another unrelated feature that will allow certain Actions to have sub-menus (you'll be able to drill down to further refine your searches, select presets, etc.), so that will at least provide the basis for a better unit test navigation.

In terms of actual features, what's your expectation there? To be able to select and run individual tests from the action bar?

@delebedev
Copy link
Author

Not exactly.
This feature only about fast navigation, not running the tests.
Let's pretend I have MyClass.m file open in Xcode. I open action bar and there is a command "Go to the test class", when I select it Xcode opens MyClassTests.m. On the other hand, when 'MyClassTests.m' is open and I double tap ALT I go to MyClass.m.
Does it makes sense?

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