Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Javascript + PhantomJS testing #1

Open
wikimatze opened this issue Jul 28, 2014 · 5 comments
Open

Javascript + PhantomJS testing #1

wikimatze opened this issue Jul 28, 2014 · 5 comments

Comments

@wikimatze
Copy link

This sounds very interesting, I could work on it in a separate branch and contact you how to work with it. What do you think?

@fgarcia
Copy link
Owner

fgarcia commented Aug 14, 2014

I must seriously review my Github notifications, just saw your issue!

PhantomJS was in my list, but before I was planning this:

  • clean up the classic Rack::Test example (no rspec)
  • mount a Sinatra based application for API
  • some async/ajax Javascript operation on the demo

Maybe that will ease your example. In any case, the asynchronous response is a common problem when doing Javascript.

Regarding testing, I value being independent for each gem, but certainly I could write many posts related with the opinions I show in this project

@wikimatze
Copy link
Author

I sometimes miss the notifications too. I will wait, until you are finished with your tasks.

@fgarcia
Copy link
Owner

fgarcia commented Aug 14, 2014

@wikimatze it seems like I will do a more dramatic move towards Javascript than expected. I will notify you when I am also ready with #2

@wikimatze
Copy link
Author

Saw your #2 report and I still want to play around phantomjs - even with managing all the JavaScript related things with grunt.

@fgarcia
Copy link
Owner

fgarcia commented Aug 26, 2014

@wikimatze I am done with my structure refactoring and prepared an app that focuses on testing with capybara+rspec (pademo-testing).

also there is one simple feature at '/tester/test1' where an ajax request takes some seconds to load a text. That should be perfect to show phantomjs

However if you still want to do that part, you should wait until next Padrino release or use now the current 'master' since there is a bug that will not allow the gems to be mounted alone from the rest.

padrino/padrino-framework#1747

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants