SketchUp / testup-2

TestUp 2 for SketchUp - A GUI wrapper for running Minitest in SketchUp
MIT License
26 stars 37 forks source link

Documentation for sketchup_test_utilities.rb #100

Open Eneroth3 opened 6 years ago

Eneroth3 commented 6 years ago

sketchup_test_utilities.rb contains many useful methods, and being inside the Testup source as opposed to the SketchUp API test suite, I would assume it's meant to be available for third party tests too.

However it would be easier to use if its methods were documented with descriptions that states the intentions behind them. For instance, what is the difference between close_active_model and discard_model_changes? When should what method be used?

Or maybe this file isn't meant for public consumption and may be subject to change. In that case it could perhaps be moved into the SketchUp API test suite (and we could have our own copy of it in our own third party test suites).

MSP-Greg commented 6 years ago

I haven't seen mention of the 'SketchUp API test suite.' What are you referring to?

Thanks,

Greg

Eneroth3 commented 6 years ago

It's the Tests for the Ruby API itself.

https://github.com/SketchUp/testup-2/tree/master/tests/SketchUp%20Ruby%20API

MSP-Greg commented 6 years ago

Got it. You were just commenting on its location/folder within this repo...