Perfect, Thanks a lot Vincent :-) Abdelghani
On 23 May 2017, at 12:00, moose-dev-request@list.inf.unibe.ch wrote:
Date: Mon, 22 May 2017 13:57:53 +0200 From: Blondeau Vincent <vincent.blondeau@worldline.com mailto:vincent.blondeau@worldline.com> To: Moose-related development <moose-dev@list.inf.unibe.ch mailto:moose-dev@list.inf.unibe.ch> Subject: [Moose-dev] Re: unitary tests with moose models Message-ID: <55CFA91A8C333946A29A0E4F07F847390110548DB294@FRSPX100.fr01.awl.atosorigin.net mailto:55CFA91A8C333946A29A0E4F07F847390110548DB294@FRSPX100.fr01.awl.atosorigin.net>
Content-Type: text/plain; charset="utf-8"
Hi Abdel,
You can take a look in the package: Moose-Tests-SmalltalkImporter-LAN
The Smalltalk code to import some code from the image is :
model := MooseModel new. MoosePharoImporterTask new importerClass: SmalltalkImporter; model: model; addFromPackageNamed: #'Moose-TestResources-LAN'; run; yourself.
For the tests, I advise you to put your code sample in a separated package.
Cheers, Vincent