unit testing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

unit testing

Lee Breisacher-2
Forking from the "Want to help write runtime ..." topic, this is a
separate discussion about testing. I'm all set up now. I can build,
run Smalltalk, etc.

I would like to discuss testing a little more. Rob said (in a private
email), "We don't have a comprehensive unit testing framework for
Smalltalk yet.  Sean will be handling that". Until there is a more
complete framework, I think it makes sense to have one place we can go
to run all the available Smalltalk tests. So that we can feel
confident that all the tests pass whenever some new base Smalltalk
code is written. And, for now, I think the best place to do that is
from Java using ordinary junit. So, along those lines, I started
writing a simple junit class that executes Smalltalk tests (using
Stic).

Does that seem like a sensible thing to work on? Or should I wait for
said framework?

Thanks,

Lee
Reply | Threaded
Open this post in threaded view
|

Re: unit testing

SeanTAllen
So, there is going to be an SUnit port to make it easy to bring stuff over from pharo and other smalltalks that use SUnit.

We have a basic 'asserter' that can be used for testing smalltalk code right now.
I'm working on taking the tests we have an setting up a test runner that can run those tests easily.

I've been busy at work so I'm a little behind on that but it should be coming soon.
As part of that, the tests will be executed as part of a build ( Rob was/is setting that part up. )

-Sean-


On Fri, Dec 16, 2011 at 5:07 PM, Lee <[hidden email]> wrote:
Forking from the "Want to help write runtime ..." topic, this is a
separate discussion about testing. I'm all set up now. I can build,
run Smalltalk, etc.

I would like to discuss testing a little more. Rob said (in a private
email), "We don't have a comprehensive unit testing framework for
Smalltalk yet.  Sean will be handling that". Until there is a more
complete framework, I think it makes sense to have one place we can go
to run all the available Smalltalk tests. So that we can feel
confident that all the tests pass whenever some new base Smalltalk
code is written. And, for now, I think the best place to do that is
from Java using ordinary junit. So, along those lines, I started
writing a simple junit class that executes Smalltalk tests (using
Stic).

Does that seem like a sensible thing to work on? Or should I wait for
said framework?

Thanks,

Lee

Reply | Threaded
Open this post in threaded view
|

Re: unit testing

Robert Roland
Right now, it is only running one file of tests, but I will be working on it discovering *Test.st (or something along those lines)

I'll work on that this weekend along with more of the base libraries.

Thanks,

Rob

On Fri, Dec 16, 2011 at 5:41 PM, Sean Allen <[hidden email]> wrote:
So, there is going to be an SUnit port to make it easy to bring stuff over from pharo and other smalltalks that use SUnit.

We have a basic 'asserter' that can be used for testing smalltalk code right now.
I'm working on taking the tests we have an setting up a test runner that can run those tests easily.

I've been busy at work so I'm a little behind on that but it should be coming soon.
As part of that, the tests will be executed as part of a build ( Rob was/is setting that part up. )

-Sean-


On Fri, Dec 16, 2011 at 5:07 PM, Lee <[hidden email]> wrote:
Forking from the "Want to help write runtime ..." topic, this is a
separate discussion about testing. I'm all set up now. I can build,
run Smalltalk, etc.

I would like to discuss testing a little more. Rob said (in a private
email), "We don't have a comprehensive unit testing framework for
Smalltalk yet.  Sean will be handling that". Until there is a more
complete framework, I think it makes sense to have one place we can go
to run all the available Smalltalk tests. So that we can feel
confident that all the tests pass whenever some new base Smalltalk
code is written. And, for now, I think the best place to do that is
from Java using ordinary junit. So, along those lines, I started
writing a simple junit class that executes Smalltalk tests (using
Stic).

Does that seem like a sensible thing to work on? Or should I wait for
said framework?

Thanks,

Lee