atom-archive / electron-starter

Example Electron app
MIT License
530 stars 66 forks source link

Time consuming build required before running tests #67

Closed mmurdoch closed 6 years ago

mmurdoch commented 9 years ago

Whenever I add or update a test (xxxx-spec.coffee) in the spec directory I have to run a build (script/build) otherwise the changes are not picked up when I run the tests.

This wouldn't be a huge problem except the build takes a long time (several minutes) to run.

Running a build seems to required regardless of whether I run the tests from the running app (via View | Developer | Run Tests...) or from the command line (using script/grunt test).

hongrich commented 9 years ago

This branch loads spec from resource path, so you don't have to do a complete rebuild every time you make changes to your tests. https://github.com/atom/atom-shell-starter/compare/master...hongrich:specs-from-resource-path

mmurdoch commented 9 years ago

@hongrich I've tested out your branch and it appears to work perfectly. It's made a huge improvement to my development speed. Thank you!

lee-dohm commented 6 years ago

As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use electron-prebuilt and electron-packager instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!