Comments (17)
Thanks. The main objective of this project was to take the angular-seed project and apply a minimal amount of changes. We've probably digressed from this a little. I'm going to close this, but we welcome a PR in this regard. Thanks again.
from angular-seed-play.
But angular-seed has test code.
We would definitely like to see a test example. Angular has its own test runner (karma) and it would be interesting to see how sbt-mocha can replace it.
The only other example of testing with sbt-mocha is with reactive-map but things are quite different for angular.
from angular-seed-play.
Ah yes, good point. I'll reopen.
from angular-seed-play.
PR most welcome :-)
from angular-seed-play.
+1, I'm also interested in this.
from angular-seed-play.
@diwa It does have test code that uses karma, but I wanted to see an sbt-mocha example like you mentioned. Currently we use the karma runner (with grunt) to test our Javascript. We want to be able to use sbt for our javascript build also, but have had no luck.
We tried a requirejs and mocha combination but it didn't work. It basically came down to us needing a dom. We tried using jsdom but that didn't work because we couldn't shim angular in a node environment. We also considered using sbt-webdriver, but it doesn't appear to have mocha support (see sbt/sbt-web#29).
We eventually ended up just sticking with our grunt build for the time being.
I would love to submit a PR but the only reason I opened this was because I don't know how to use sbt-mocha with angular. ;)
from angular-seed-play.
+1, Is anyone working on this?
from angular-seed-play.
Not actively. PRs welcomed.
from angular-seed-play.
+1
from angular-seed-play.
+1 I am trying to figure this out too.
from angular-seed-play.
+1
from angular-seed-play.
+1
from angular-seed-play.
+1
from angular-seed-play.
+1
from angular-seed-play.
+1
from angular-seed-play.
+1 tests are pretty important, 1 example is really crucial.
from angular-seed-play.
+1
from angular-seed-play.
Related Issues (9)
- Wiring additional web jars as Angular dependencies. HOT 14
- Demonstrate using requirejs optimized files? HOT 5
- Provide examples for loading other angular modules HOT 6
- Demonstrate automatically wiring up the webjars-requirejs.js of the dependencies files with play 2.3 HOT 5
- $locationProvider.html5Mode(true) HOT 3
- dependency to require.js web jar is required
- how to serve minized files HOT 1
- Please update to current Play version HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-seed-play.