codewars / codewars-runner-cli

Old CodeRunner project. See https://github.com/codewars/runner instead.
GNU Affero General Public License v3.0
402 stars 141 forks source link

go support #5

Closed jhoffner closed 7 years ago

eugene-bulkin commented 10 years ago

Worth noting, Go does have anonymous functions, so the test framework will be easy to make if you want to roll your own.

xcthulhu commented 10 years ago

Well… whenever possible, I’ve tried to stay with a standard BDD and just modify the output formatter.

This was a good approach in Clojure and Haskell, where the test frameworks I looked at were factored appropriately. This is also doable in Erlang, although its sort of weird. I just haven’t gotten around to it.

This was not possible in Julia; I cargo culted a community test framework and modified the output.

From what I could tell, neither Go nor Rust seem to have factored their test frameworks to allow alternate output formats.

~Matt

On Aug 5, 2014, at 1:21 AM, Eugene Bulkin notifications@github.com wrote:

Worth noting, Go does have anonymous functions, so the test framework will be easy to make if you want to roll your own.

— Reply to this email directly or view it on GitHub.

xcthulhu commented 10 years ago

Are we making a test framework for this? Test frameworks are each quite an effort...

jhoffner commented 10 years ago

Hopefully this won't be too much of an effort thanks to http://onsi.github.io/ginkgo/#writing-custom-reporters.

On a personal level, go is one of the languages I look forward to picking up a bit and would love to have this, however I seem to be in the minority, as the current language voting on the site has Go in the bottom tier. It may just be though that the Go community hasn't picked up on us yet. Go is one of the fastest growing languages out there right now, and a number of high profile node developers have switched over to it (including the guy who originally wrote express js).

xcthulhu commented 9 years ago

Hi Codewars/codewars-runner, A message from Matthew Wampler-Doty was left on IQ Elite for you. Click here a.iqelite.com/j/0JmRlo/ghy/?hg=E81ByDHjf0 to read your message

The IQ Elite Team


This message was meant for reply@reply.github.com. If you do not want to continue receiving such mails from IQ Elite, please click on this link: a.iqelite.com/common/unsubscribe/?code=b198c50e&email=reply@reply.github.com&hg=E81ByDHjf0

IQ Elite is a service with main office: C/ Gran De Gràcia 15, 1a 1a, 08012 Barcelona, Spain.

Kavignon commented 8 years ago

What's the current state here? Do we need to create a personal Go test framework? Can we use ginkgo?

jhoffner commented 8 years ago

ginkgo 👍

Kavignon commented 8 years ago

Perfect. This is the perfect chance for me to finally learn about Scala & Go. I try to be as fast as possible, but I think 5 languages by september will be awesome ?

jhoffner commented 8 years ago

Yeah that all sounds great! Though other members may want to contribute as well. I would say pick your top language and then take it one language at a time.