velesin / jasmine-jquery

jQuery matchers and fixture loader for Jasmine framework
MIT License
1.89k stars 347 forks source link

Is it possible to loadFixtures over http? #295

Closed freeman-g closed 7 years ago

freeman-g commented 7 years ago

I am trying to setup automated DOM and Javascript testing for a legacy app which has server side rendering via JSPs.

I would like to use jasmine-jquery to test DOM manipulation but I cannot load HTML files directly since they need to be rendered by the server first. Is it possible to loadFixtures over http instead of from the file system?

Something like this:

loadFixtures('http://<myserver>/MyRenderedHTMLAndJs')

Thanks!

freeman-g commented 7 years ago

Sorry, this is a duplicate https://github.com/velesin/jasmine-jquery/issues/259 ... closing