Forum: Ruby How to generate Excel file from rspec.

4b5699f0d96b772fd1e5df0e43ae1145?d=identicon&s=25 Dat Nguyen (datnguyen)
on 2014-03-14 10:32
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
34b8a03506c609f56f23a57dfba458b6?d=identicon&s=25 Yuan Wang (Guest)
on 2014-03-14 10:35
(Received via mailing list)
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 Nguyen <lists@ruby-forum.com>:
4b5699f0d96b772fd1e5df0e43ae1145?d=identicon&s=25 Dat Nguyen (datnguyen)
on 2014-03-14 10:39
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 Nguyen <lists@ruby-forum.com>:

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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.