Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

JS testing support
jnijni
#1 Posted : Tuesday, December 18, 2012 6:29:19 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/18/2012(UTC)
Posts: 6
Location: Canada

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Hi,

I'm not sure if I'm simply blind, but I can't find this feature.

It would be greatly appreciated if nCrunch could run JS tests. I am presently using Jasmine, one of the best known JS test framework, and I have to run my tests manually elsewhere.

You could look at what R# does, it can run the test in phantomJS, a headless webkit browser. Enabling debugging in phantomJS would be a plus over R# too.

It would be important, I think, that you don't recompile the project before running the JS tests, since it gives no benifits.

I hope to see this feature implemented soon,

Thanks,
Jni
Remco
#2 Posted : Tuesday, December 18, 2012 8:14:34 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,143

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Jni,

Thanks for the suggestion!

As NCrunch is primarily a .NET testing tool, it doesn't yet handle Javascript - although I'm aware that many .NET developers do also work with JS in combination with .NET.

So far this hasn't been implemented, as supporting Javascript would require a complete redevelopment of all of NCrunch's runtime components using Javascript. However, it's been quite heavily requested, so I will be look at this in more detail in future.


Cheers,

Remco
jnijni
#3 Posted : Wednesday, December 19, 2012 7:15:07 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/18/2012(UTC)
Posts: 6
Location: Canada

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Fair enough, thanks for the interest in the matter!
1 user thanked jnijni for this useful post.
Remco on 12/19/2012(UTC)
khalidabuhakmeh
#4 Posted : Saturday, March 2, 2013 10:40:36 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/24/2012(UTC)
Posts: 1
Location: United States of America

I was thinking about this today, and I'm glad I'm not the only one thinking it. Any update on this feature?

Frameworks support that would be nice:

- QUnit
- Mocha
- Jasmine

You could also use a headless browser like, PhantomJS or ZombieJs.

http://zombie.labnotes.org/
http://phantomjs.org/

Thanks and I love NCrunch. One of the best purchases I've ever made.
Remco
#5 Posted : Sunday, March 3, 2013 8:58:15 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,143

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for the feedback!

Still no update on this one. It's a very big feature area and there is a lot in the pipeline so I'm certain that it won't be looked at in detail this year. Perhaps later!

I'm glad you're enjoying NCrunch :)


Cheers,

Remco
MikeHanson
#6 Posted : Thursday, October 24, 2013 7:36:00 AM(UTC)
Rank: Member

Groups: Registered
Joined: 3/23/2012(UTC)
Posts: 11
Location: St Albans, UK

Was thanked: 3 time(s) in 3 post(s)
Just like to add my vote for including this feature if at all possible.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.055 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download