shoes / shoes3

a tiny graphical app kit for ruby
http://walkabout.mvmanila.com
Other
181 stars 19 forks source link

Backporting Shoes 4 RSpec [$20] #79

Open IanTrudel opened 9 years ago

IanTrudel commented 9 years ago

Shoes 3.2 needs a manner to automate testing and ensure a higher degree of quality control. For this, it should be possible to backport rspec from Shoes 4 relatively easily.

Bountysource

REFERENCES https://github.com/shoes/shoes4/tree/master/shoes-core/spec http://en.wikipedia.org/wiki/RSpec

ccoupe commented 8 years ago

Comment about tests here https://github.com/Shoes3/shoes3/pull/210

ccoupe commented 8 years ago

I still need to deal with stdin on OSX (pty would be the easy way, possibly the smart way too).

I also looked at why @passenger94 's Tests/test_video_vlc.rb fails so oddly on OSX. Which required me to read the minitest README. Many warnings caught my eye: Some test settings may require pipes (bad for Shoes/Windows, almost as bad for Shoes/OSX). Minitest has a UI callback protocol which is what Shoes should use and it wouldn't necessarily require terminal/console to implement them). OSX doesn't like the '@sandbox' for running vlc code and IF I Understand what's going on, I don't like it either. Its a pretty framework, though.

I don't have a dog in the fight about minitest vs rspec but I do know you can't test GUI appearances in a background only CI process. The Shoes4 folks have discovered that and they have tests up the wazoo and spend more time fixing Travis and specs than they do getting Shoes fixed IMO.

GUI tests like the vlc video or svg widgets need to be done with onscreen widgets

IanTrudel commented 7 years ago

Trying out Bountysource on Github (tracker instructions here). Maybe someone will be tempted to contribute. :)

Bountysource