ruby-tapas-downloader icon indicating copy to clipboard operation
ruby-tapas-downloader copied to clipboard

Create some integration tests

Open stupied4ever opened this issue 11 years ago • 4 comments
trafficstars

I'm really feeling a lack of integration tests.

What about user VCR to this?

We could test starting on CLI (with all options of params) and check for file existence. What do you think ?

stupied4ever avatar May 09 '14 17:05 stupied4ever

I'm not sure what tapes we could actually record for VCR, as all important pages are in a private zone of a paid subscription service.

We could choose to don't version the tapes, but this way valid username and passwords would be required to run the test suit. I'm not fond of that idea.

Do you agree there's a issue with that? Do you see a solution?

// cc @stupied4ever

leafac avatar May 09 '14 17:05 leafac

We could authenticate to record, but filter sensitive data

stupied4ever avatar May 09 '14 17:05 stupied4ever

Uhhhh, that sounds fancy! I like it! :smile:

Let's roll this thing and get rid of those unit tests, now that they are A Bad Thing :stuck_out_tongue:

leafac avatar May 09 '14 19:05 leafac

http://nooooooooooooooo.com/

stupied4ever avatar May 09 '14 19:05 stupied4ever