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

Default executable name from dubTestTarget can be confusing #41

Open
WebFreak001 opened this issue Oct 29, 2017 · 3 comments
Open

Default executable name from dubTestTarget can be confusing #41

WebFreak001 opened this issue Oct 29, 2017 · 3 comments

Comments

@WebFreak001
Copy link

By default the unittests are written into an ut executable which could be confusing to a new user.

Maybe calling it unittest or runtest would be more obvious to what it is.

Alternatively calling it APPLICATION_NAME-test by default would be more dub compatible and easier to migrate to for dub users. The dubDefaultTarget right now emits the same executable name as dub after all

@atilaneves
Copy link
Owner

I don't know - I like how it is now and it'd be some work to change it. Also, does anyone run unittest binaries manually with dub? It's usually just dub test.

@WebFreak001
Copy link
Author

Yeah it's just dub test, I don't usually run the generated executable but I was confused when that ut file appeared in my folder

@atilaneves
Copy link
Owner

I added some info in the documentation.

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