dojo / cli

:rocket: Dojo - command line tooling.
http://dojo.io
Other
25 stars 34 forks source link

Running tests are slow #169

Closed umaar closed 7 years ago

umaar commented 7 years ago

Bug

Package Version:

The currently installed groups are:

build (@dojo/cli-build-webpack) 0.1.0
create (@dojo/cli-create-app) 0.1.0
test (@dojo/cli-test-intern) 0.1.0

You are currently running @dojo/cli 0.1.0

Expected behavior:

$ time dojo test --unit

# dojo test --unit  19.79s user 0.92s system 121% cpu 17.065 total

Actual behavior:

I would expect tests to be run in a few seconds.

When working on tests for the widget showcase, I found myself frequently re-running tests to find out what works, learn about APIs and experiment. However the experience is slow which is not ideal.

I also see that 10 seconds are spent building the app:

image

umaar commented 7 years ago

Moved this issue to the cli-test-intern project