testup-2 icon indicating copy to clipboard operation
testup-2 copied to clipboard

Documentation for sketchup_test_utilities.rb

Open Eneroth3 opened this issue 7 years ago • 3 comments

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).

Eneroth3 avatar Jan 06 '18 10:01 Eneroth3

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

Thanks,

Greg

MSP-Greg avatar Feb 17 '18 01:02 MSP-Greg

It's the Tests for the Ruby API itself.

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

Eneroth3 avatar Feb 17 '18 07:02 Eneroth3

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

MSP-Greg avatar Feb 17 '18 15:02 MSP-Greg