As
far as I see it standalone means work�
without a image.
all
the other test-runners run in� a vm as
far as I know how exercism works.
Nope. :)
You see in ruby or
python or Javascript, you cannot run a
software without a kernel (and a kernek is
an image that cannot be saved and it often
created
using some hardcoded C
code - but this is the same). They just
cannot save the kernel once loaded with
libraries but this is the same.�
So if we can load
tests and execute tests without clicking on
a button interactively.
Yes
we can.�
This is what we are
doing since we have the jenkins test runner
(since 2009 or before) and this is what you
have when you�
run tests on travis or
github actions.�
So now the point is to
know if their infrastructure needs a script
to run the tests
-
how to identify them
-
how to execute them
Because in Pharo we
can write tests, identify them and execute
them
Interactively but also
from the command-line.�
Did you already write
a test?
Because if not, it
super super important and I will release
some a booklet on Testing in Pharo.
and also a new chapter
ofr Pharo by example 9
S
Roelof
Op
13-8-2021 om 21:50 schreef�stephane.ducasse@free.fr:
Hello
Can you be more specific because Pharo
got since day 0 �(and I would say even
before) a test runner?
The SUnit framework is there already.
We were thinking to extract a runner
object to make it first class from the
core framework.
But beside that it is working,
maintained, extended (now we have
parametrised tests) and we have (I
should publish it) supports for example
(tests without setUp)
Then what is standalone?
S.
Hello,
For the new version of exercism which
is due in a few weeks, the pharo track
needs a test-runner,
a example of that can be found here :�https://github.com/exercism/ruby-test-runner/tree/main/lib�<https://github.com/exercism/ruby-test-runner/tree/main/lib>
first question : Can this be easily be
done in pharo?
second question : can it also be
standalone?
Regards,
Roelof