Code Monkey home page Code Monkey logo

Comments (10)

Steffan153 avatar Steffan153 commented on June 9, 2024 1

Alright, I'll work on that.
The only test framework I've found is SUnit, but I'm not even completely sure it'll work. We might need to make our own one.

from runner.

Steffan153 avatar Steffan153 commented on June 9, 2024 1

I have GNU Smalltalk locally, but I don't think there's much of a difference between them.
I think they're all the same language, just small differences (?) between them. No need to support them all tho.

Yeah, that one might work. I'll experiment with it.

Edit: I don't see an easy way to install that one without using Pharo actually... (not a problem?)

from runner.

 avatar commented on June 9, 2024

The linked page is down. This link maybe suitable instead.

from runner.

Steffan153 avatar Steffan153 commented on June 9, 2024

What do you need help with actually?

from runner.

kazk avatar kazk commented on June 9, 2024

@Steffan153 Added a checklist. So, figuring out how to test and produce the output we need.

from runner.

Steffan153 avatar Steffan153 commented on June 9, 2024

Well... it doesn't look like it'll work.

  1. I couldn't get it working myself...
  2. if I could, the output wouldn't be anything useful to Codewars, or easily convertible.
  3. Basically all it does is let you assert stuff, so it's basically the equivalent of Test.expect, not providing useful output.

So should I write a custom test framework?

from runner.

kazk avatar kazk commented on June 9, 2024

Is there anything else? I'd avoid starting from scratch if possible.

Maybe instead of GNU Smalltalk, add Squeak or Pharo? I'd expect there's something for those two.

from runner.

Steffan153 avatar Steffan153 commented on June 9, 2024

I thought Squeak/Pharo were Smalltalk...
Well, for Squeak, same thing: https://wiki.squeak.org/squeak/541
Pharo: http://pharo.gforge.inria.fr/PBE1/PBE1ch8.html and https://jiaxianhua.github.io/smalltalk/2015/04/28/pharo-by-example-7
In any variation, they always use SUnit.

from runner.

kazk avatar kazk commented on June 9, 2024

All of them are Smalltalk derivatives.

Squeak is an open source implementation derived from Smalltalk-80 Version 1 by way of Apple Smalltalk.

GNU Smalltalk is a free software implementation of a derivative of Smalltalk-80 from the GNU project.

Pharo Smalltalk is a fork of Squeak oriented toward research and use in commercial environments.

Smalltalk - Wikipedia

I don't know much about them, but from what I've read, Squeak is Smalltalk. Pharo is more inspired by Smalltalk. Are they different enough to be considered different language? I won't be supporting all three of them unless I'm convinced, so let's pick one.

https://github.com/markbush/SmalltalkTests looks straightforward to modify and make it work.

from runner.

kazk avatar kazk commented on June 9, 2024

We can add Pharo instead. It looked like it has the most active users right now and has better tooling.
If there's not much difference, I'd prefer a more modern and popular one, so more users will be interested to try and it's easier for them to set up locally.

from runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.