iamchrismiller / grunt-casper

Run CasperJS Scripts/Functional Tests
Other
69 stars 38 forks source link

xunit Files not written with Casper Version 1.1.0-dev #12

Closed fwebdev closed 11 years ago

fwebdev commented 11 years ago

I'm working with Casper-1.1.0-dev. The writing of the the xunit-Files is not working for me. I would expect that I get a xml-File in my Project Folder. But nothing happens.

Any Idea?

casper : {
            options : {
                test : true,
                includes: '<%=system.static.project.jsTest %>helper.js',
                'log-level' : 'info'
            },

            smoketest : {
                files : {
                    'casper-results.xml' : ['<%=system.static.project.jsTest %>smoketest.js']
                }
            }
        }
iamchrismiller commented 11 years ago

I am in the process of updating this library to support Casper-1.1.0-dev. I will be creating a 1.1 branch and merging that to master once the 1.1 stable version of Casper is out. I will test your scenario and see the results. This should work as expected if you downgrade to the latest stable version of the Casper binary.

iamchrismiller commented 11 years ago

@fwebdev I pushed a new branch 1.1 which updates the casper tests / lib to support the casper changes from 1.0 to 1.1.0-dev. I will leave this branch separate until 1.1 stable comes out and then I will merge to master. Feel free to grab the new branch which corrects the issue with --xunit