-
Notifications
You must be signed in to change notification settings - Fork 0
Command Launcher Update #100
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
Conversation
Thanks! This is working okay for me so far. If we're not using |
Sounds good. I will remove os.rs. |
|
pushed an update that fixes #101 Do the Travis builds test the CLI commands? |
No, not yet |
If you wanted to add some CLI tests I would add a You should be able to switch dirs out of the app directory in Python code if you wanted to test global commands too. Note that I think the naming of To invoke those tests run |
It was just an honest question, wondering if the linux compile of the cli gets the tires kicked. I don't know that it's necessary to directly test the cli. As we're working on updates it'll be getting a constant run through. I'm willing to take a stab at a few tests to at least check that it doesn't die on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Yeah, I think I changed my mind about tests for the CLI over night. It would be better to have tests for it. I'll put a little thought into it over the next day or 2, but I think I'd rather merge these changes as is. |
This seems like a good way to test the cli: |
@coreyeng part of adding testing I was thinking to add for the cli might involve moving the "do something with the args" code into a lib for direct unit testing... so instead of checking that Anyway, all of that to ask if you'd want to wait until after your branch is merged and I can work from there to add the testing? Or, what? |
I'm starting a cli_test branch to work on tests. I'll go ahead and merge this. |
fixes #27
@ginty recommended using
PathBuf
it cleaned up a lot of the issues I was seeing. I don't know that all of the addedOsString
is necessary. In my testing I had better luck when usingOsString
. In any case the string has to be converted to the appropriate type for the system eventually. So, no harm (in my view).@coreyeng can you kick the tires a bit?
I think the os.rs file becomes basically unused in this branch. I left it in for now.