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

Implemented new question, about need tests in generamba setup #87

Merged
merged 2 commits into from
Jan 30, 2016

Conversation

Beniamiiin
Copy link
Contributor

No description provided.

@@ -33,21 +33,29 @@ def setup
targets_prompt = ''
project.targets.each_with_index { |element, i| targets_prompt += ("#{i}. #{element.name}" + "\n") }
project_target = ask_index("Select the appropriate target for adding your MODULES (type the index):\n" + targets_prompt,project.targets)
test_target = ask_index("Select the appropriate target for adding your TESTS (type the index):\n" + targets_prompt,project.targets)
include_tests = yes?('Do you want to generate tests? (yes/no)')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that it would be more explicit to ask something like "Are you using unit-tests in this project?"

@etolstoy
Copy link
Member

Thanks for another nice contribution! Check the failing tests please.

etolstoy added a commit that referenced this pull request Jan 30, 2016
Implemented new question, about need tests in `generamba setup`
@etolstoy etolstoy merged commit c5d9bae into develop Jan 30, 2016
@etolstoy etolstoy deleted the feature/asksUserIfHeNeededTests branch November 9, 2016 08:36
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

Successfully merging this pull request may close these issues.

2 participants