Skip to content

go-testsuite, a testing framework for existing and future Go compilers and interpreters #37

Open
@mvertes

Description

@mvertes

The goal is to provide a test suite which can be used to verify independently that a Go language implementation supports the Go specification.

The project will be mainly a collection of self-contained Go sample programs like:

package main

func main() {
    println("hello", 3+2)
}

// Output:
// hello 5

And the scripts to build and tests existing toolchains against those examples.

Toolchain candidates:

  • Golang Go compiler
  • tinygo
  • gccgo
  • gnovm (gnolang)
  • yaegi
  • gno-rs (internal gnolang)
  • parscan (internal gnolang)
  • ...

We can start to populate the sample base with various projects regression tests already in that format (gno, yaegi), and continue add relevant examples over time.

This project could be also to provide a framework for comparing other aspects like performances or other features.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions