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

feat: provision to have test runners #146

Closed
wants to merge 2 commits into from

Conversation

jankolincak
Copy link

@jankolincak jankolincak commented Nov 5, 2019

Description

Added user prompt to choose which test framework to proceed with.

Fixes #82

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@welcome
Copy link

welcome bot commented Nov 5, 2019

Thanks for opening this pull request! Please check out our contributing guidelines.

@jamesgeorge007 jamesgeorge007 added the enhancement Enhancement to an existing feature label Dec 27, 2019
Copy link
Member

@jamesgeorge007 jamesgeorge007 left a comment

Choose a reason for hiding this comment

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

Left couple of comments.

Comment on lines +87 to +89
if (testRunner === 'ava' && template === 'nuxt') {
return;
}
Copy link
Member

Choose a reason for hiding this comment

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

It seems Nuxt.js works pretty much with Ava. Can you clarify about this early return?

{
name: 'testRunner',
type: 'list',
message: 'Please select your test framework for your project',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
message: 'Please select your test framework for your project',
message: 'Please select the test framework of choice',


process.chdir(`${projectName}/client/`);

const fetchSpinner = new Spinner(`Installing the ${testRunner}`);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const fetchSpinner = new Spinner(`Installing the ${testRunner}`);
const fetchSpinner = new Spinner(`Installing ${testRunner}`);

@jamesgeorge007 jamesgeorge007 changed the title Feat: provision to have test runners feat: provision to have test runners Dec 27, 2019
@jamesgeorge007
Copy link
Member

closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add provision to have test runners
2 participants