--- Begin Message ---
Hello Sean,

Thanks for your remarks.
I think that the current space design has the adequate abstractions 
to do the kind of tests you want.
And you’re right, it should be possible.
But please do not ask too much. Before having this kind of TDD possible 
we have to reach a point where we can use Bloc and Brick with real user input 
events.
Maybe we are wrong but this was our approach.
Reaching this state requires a huge amount of work but we are almost there :)

Cheers
Alain


> Le 14 févr. 2016 à 19:26, Sean P. DeNigris <s...@clipperadams.com> a écrit :
> 
> Aliaksei Syrel wrote
>> Space is not something you want to embed in another space.
> 
> That's where you're wrong ;-) That's exactly what I want to do!
> 
> 
> Aliaksei Syrel wrote
>> Space manages UI thread, event fetching, alarms and many other low level
>> stuff
> 
> Yes! That's all the stuff I want to stub out and control. Imagine I want to
> control time in my space e.g. run a simulation at 10x speed...
> 
> 
> Aliaksei Syrel wrote
>> Universe contains spaces and there can be only one running space at a time
>> - read
>> there can be only one active UI thread and event fetcher in the system.
> 
> Yes, this is what I am disappointed before. Of course that makes sense in
> practice in the normal operation of the system, but limits one's creativity
> to pre-approved uses. IMHO this is the kind of coding-for-one-world-view
> that made Morphic infuriating to really try to reinvent.
> 
> 
> Aliaksei Syrel wrote
>> You can create a separate 'Bloc-Test' space and do testing there.
> 
> I should have been more specific. Yes, one can do functional testing, but
> one can not stub out the dependencies and unit test properly. In fact, IMHO
> this area of the design is a symptom of lack of TDD.
> 
> 
> 
> -----
> Cheers,
> Sean
> --
> View this message in context: 
> http://forum.world.st/Bloc-Space-within-a-Space-tp4877474p4877492.html
> Sent from the Pharo Smalltalk Users mailing list arch



--- End Message ---

Reply via email to