This is a duplicate of my earlier question - the forum didn't appear to take my earlier post. Moderator ... help?On Sat, Nov 5, 2016 at 7:19 PM, Joe Chambley <jch...@gmail.com> wrote:I've looked at the suggested documentation at the Jasmine website, and at the corresponding examples, but I am wondering--
1) Is there some documentation somewhere showing how to run a client browser test (using jasmine.ci, I'm guessing)?
2) Also, it'd be great to see a short example using node from the call to node.js to some server end javascript processing as well as client script proecessing.
I realize that jasmine is free, which is very cool, but at this point learning how to use it seems like learning how to use node before I discovered, The Node Beginner Book. Wondering what I'm missing.
If anyone can point to some examples or other documentation, it'd be greatly appreciated. Thank you for your time.
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+unsubscribe@googlegroups.com.
To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at https://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+unsubscribe@googlegroups.com.
To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at https://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/d/optout.
Hi Joe,Both came to me - might have been a forum bug. Note I'm not a moderator/maintainer of Jasmine. But might be able to help with your questions :)First, I'm not sure from your question, but it sounds like you're trying to write an end to end test - a test that simulates some browser action and then updates some backend state. From my experience, Jasmine is not the best tool for this type of test - you likely want Selenium (or even Concordion - disclaimer that I am a maintainer of Concordion :)Jasmine is really good for targeted unit tests - things like "when a button is clicked, a particular JS function is invoked" and "when that function is invoked, the system makes an AJAX REST call to the backend" and then so on testing each step in the chain independently.For some sample tests, I wrote a couple of blog posts recently. They're here: https://the-ambient-forest.blogspot.co.nz/.Hope that helps,Tim
On 6 November 2016 at 19:22, Joe Chambley <jch...@gmail.com> wrote:
This is a duplicate of my earlier question - the forum didn't appear to take my earlier post. Moderator ... help?
On Sat, Nov 5, 2016 at 7:19 PM, Joe Chambley <jch...@gmail.com> wrote:
I've looked at the suggested documentation at the Jasmine website, and at the corresponding examples, but I am wondering
1) Is there some documentation somewhere showing how to run a client browser test (using jasmine.ci, I'm guessing)?
2) Also, it'd be great to see a short example using node from the call to node.js to some server end javascript processing as well as client script proecessing.
I realize that jasmine is free, which is very cool, but at this point learning how to use it seems like learning how to use node before I discovered, The Node Beginner Book. Wondering what I'm missing.
If anyone can point to some examples or other documentation, it'd be greatly appreciated. Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.
To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at https://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+unsubscribe@googlegroups.com.
Hi Joe,Both came to me - might have been a forum bug. Note I'm not a moderator/maintainer of Jasmine. But might be able to help with your questions :)First, I'm not sure from your question, but it sounds like you're trying to write an end to end test - a test that simulates some browser action and then updates some backend state. From my experience, Jasmine is not the best tool for this type of test - you likely want Selenium (or even Concordion - disclaimer that I am a maintainer of Concordion :)Jasmine is really good for targeted unit tests - things like "when a button is clicked, a particular JS function is invoked" and "when that function is invoked, the system makes an AJAX REST call to the backend" and then so on testing each step in the chain independently.For some sample tests, I wrote a couple of blog posts recently. They're here: https://the-ambient-forest.blogspot.co.nz/.Hope that helps,Tim
On 6 November 2016 at 19:22, Joe Chambley <jch...@gmail.com> wrote:
This is a duplicate of my earlier question - the forum didn't appear to take my earlier post. Moderator ... help?
On Sat, Nov 5, 2016 at 7:19 PM, Joe Chambley <jch...@gmail.com> wrote:
I've looked at the suggested documentation at the Jasmine website, and at the corresponding examples, but I am wondering
1) Is there some documentation somewhere showing how to run a client browser test (using jasmine.ci, I'm guessing)?
2) Also, it'd be great to see a short example using node from the call to node.js to some server end javascript processing as well as client script proecessing.
I realize that jasmine is free, which is very cool, but at this point learning how to use it seems like learning how to use node before I discovered, The Node Beginner Book. Wondering what I'm missing.
If anyone can point to some examples or other documentation, it'd be greatly appreciated. Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.
To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at https://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+unsubscribe@googlegroups.com.