Hello Robin,
     I'm doing my dev in a similar env to yours. I got to the point where i 
have my unit tests running fine thru the command line. I see the following 
output:

INFO [karma]: Karma v0.12.16 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Linux)]: Connected on socket 6IQiqSiZdJa3zIKrXBt3 
with id 47119902
PhantomJS 1.9.8 (Linux): Executed 2 of 2 SUCCESS (0.038 secs / 0.028 secs)

But this is inside the VM, which is a command line shell.  If i were to run 
e2e tests, how would i see them run in  a browser, on my host OS(windows). 
I access my website using http://127.0.0.1:6677 from the host OS and its 
always running. 

thanks

On Thursday, June 13, 2013 at 2:58:55 PM UTC-4, Robin Luckey wrote:
>
> Thanks, Ryan, this was the clue I needed to get moving again. The 
> tutorials are working OK with PhantomJS.
>
> For any other n00bs who may follow in my footsteps:
>
> 1. Install phantomjs on your development environment
>
> 2. Edit `karma.conf.js`: change the line `browsers=['Chrome'];` to 
> `browsers=['PhantomJS'];`
>
> 3. Start the karma testing script in your development OS
>
> 4. Open a browser on your host OS, and point it at port 9876 on your 
> development OS. I had to reconfigure my virtual machine to forward this 
> port.
>
> Thanks again,
> Robin
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to