How to generate Excel file from rspec

I had written some model scenarios.
export to html file is ok : rspec batch_StackedBill_spec.rb --format
html --out /… , but Now i want to generate that output in an excel
file, i don’t now way to generated to excel file (not html).

please help me . thanks and regards

you can simply generate CSV file. The office software can read CSV file
just like Excel.

2014-03-14 17:32 GMT+08:00 Dat N. [email protected]:

Yuan Wang wrote in post #1139825:

you can simply generate CSV file. The office software can read CSV file
just like Excel.

2014-03-14 17:32 GMT+08:00 Dat N. [email protected]:

Thanks Yuan wang , but i thing file export default rspec was export to
not true format to i open with excel … it’s very break

You can have a look at:
http://stackoverflow.com/questions/4617405/what-is-the-best-way-to-test-export-to-excel-or-csv-using-rspec


Best regards.
http://www.keepdynamic.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs