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

Add a subcommand to create a simple test files #12

Open
alimnios72 opened this issue Oct 15, 2019 · 0 comments
Open

Add a subcommand to create a simple test files #12

alimnios72 opened this issue Oct 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@alimnios72
Copy link
Contributor

Creating a test file can be annoying since you have to do the following:

  • Have a main function that takes and object as arguments
  • Return the top-level describe function in the file
  • The top-level describe should take the arguments passed to main

It would be great to add a subcommand to roca that creates a template test file with all of the above saving us time when adding new tests.

@alimnios72 alimnios72 added the enhancement New feature or request label Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant