-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add custom build/test commands by configuration #87
Comments
I'm very on board with this. I definitely thing the first thing to do would be to open up the ability to pass custom flags to One thought re: the |
Sounds great! Vim-test integration would also be very nice! My understanding of vim-test is that we could: It sounds like you prefer option c), which certainly sounds like the best in the long term because maintenance would be easier. I'm guessing that the best way to implement this would be to make a very thin wrapper for vim-xcode in vim-test, but do you have any other approaches in mind? I'll start implementing the test flags support in vim-xcode when I get the chance this week. This sounds very exciting! |
Yeah, C would be my pick for sure. vim-test has a fantastic architecture that would actually let us ship the runner alongside our plugin, with no code changes on their end. Users would need to add a custom runner in their config, but it should be easy enough to do. I started playing with this last night but didn't get too far. I'll keep picking at it if I can find the time. |
I opened up #88 to cover the vim-test stuff specifically, because I needed a place to record my thoughts on it. |
Idea/pitch
So I'm not sure how difficult this might be, but what do you think about adding support for customizing test command arguments?
The two main use-cases I thought of are below.
Parallel testing with Xcode 10
set via g:xcodetest_arguments
https://medium.com/xcblog/wwdc18-xcode-10-in-action-f56e14c62d79
Running specific tests/test suites
https://stackoverflow.com/questions/35166214/running-individual-xctest-ui-unit-test-cases-for-ios-apps-from-the-command-li
set via
g:xcodetest_arguments
or: Xtest -only-testing:TestBundle/TestSuite/TestCase
The text was updated successfully, but these errors were encountered: