Git Product home page Git Product logo

Comments (17)

huntc avatar huntc commented on July 18, 2024

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.

diwa-zz avatar diwa-zz commented on July 18, 2024

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.

huntc avatar huntc commented on July 18, 2024

Ah yes, good point. I'll reopen.

from angular-seed-play.

huntc avatar huntc commented on July 18, 2024

PR most welcome :-)

from angular-seed-play.

magro avatar magro commented on July 18, 2024

+1, I'm also interested in this.

from angular-seed-play.

caseyhoward avatar caseyhoward commented on July 18, 2024

@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.

poenneby avatar poenneby commented on July 18, 2024

+1, Is anyone working on this?

from angular-seed-play.

huntc avatar huntc commented on July 18, 2024

Not actively. PRs welcomed.

from angular-seed-play.

Magrath avatar Magrath commented on July 18, 2024

+1

from angular-seed-play.

krimple avatar krimple commented on July 18, 2024

+1 I am trying to figure this out too.

from angular-seed-play.

jpolo avatar jpolo commented on July 18, 2024

+1

from angular-seed-play.

mjswensen avatar mjswensen commented on July 18, 2024

+1

from angular-seed-play.

aluanhaddad avatar aluanhaddad commented on July 18, 2024

+1

from angular-seed-play.

pbelmann avatar pbelmann commented on July 18, 2024

+1

from angular-seed-play.

idot avatar idot commented on July 18, 2024

+1

from angular-seed-play.

ilanbiala avatar ilanbiala commented on July 18, 2024

+1 tests are pretty important, 1 example is really crucial.

from angular-seed-play.

hwzhao avatar hwzhao commented on July 18, 2024

+1

from angular-seed-play.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.