Add `cli-plugin-unit-ava`
See original GitHub issueWhat problem does this feature solve?
AVA test runner.
Add unit-ava
in addition to the existing unit-mocha
and unit-jest
core plugins. unit-ava
would be exposed in the same way as jest and mocha support and given as an option for unit testing configuration.
What does the proposed API look like?
The API / implementation would follow the pattern(s) established by unit-jest
and unit-mocha
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
@vue/cli-plugin-unit-jest - npm
Start using @vue/cli-plugin-unit-jest in your project by running `npm i @vue/cli-plugin-unit-jest`. There are 58 other projects in the npm ...
Read more >picocli - a mighty tiny command line interface
Copy and paste it into a file called CommandLine.java , add it to your project, and enjoy! 2.3. Annotation Processor. The picocli-codegen module ......
Read more >IntelliJ plugin unit test with Gradle project import produce ...
I'm working on unit tests for our project with Gradle functionality. For correct tests, I need to import the Gradle project and get ......
Read more >Default unit tests are failing · Issue #1879 · vuejs/vue-cli - GitHub
I Create a new project in vue-cli add "Unit Testing" and copy differences in my project. This work for me. Install the package:...
Read more >vue/cli-plugin-unit-jest
unit -jest plugin for vue-cli ... To do this, we need to add an exception to the transformIgnorePatterns option of jest.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How is the testing story with .vue files with ava these days?
/ping @eddyerburgh tested ava some time ago and performance of existing solutions to transpile .vue files in ava were disappointing, to say the least.
Generelly I don’t think we want to add every testing framework as a core pluin, just like we won’t add every preprocessor and every compile-to-js language to it (no coffeescript! 😛)
So in order for a PR to be accepted, this proposition would have to:
.vue
filesIf that doesn’t happen, you can ofg course make it a “normal” plugin to the cli, which means users would simpl have to do this to add ava after the initial
vue create
setup:I am developing a plugin, if anyone would like to try it and give me some feedback here is the repo: https://github.com/dnlup/vue-cli-plugin-unit-ava