- The project currently does not accept Pull Requests.
- Work in progress, API heavily unstable, not ready for use.
For the time being, this attempts to extend https://github.com/go-quicktest/qt. This approach might or not work. Everything can break.
import (
"testing"
"github.com/go-quicktest/qt"
"github.com/marco-m/rosina"
)
func TestFoo(t *testing.T) {
err := WriteFile("the-file", "the-contents")
qt.Assert(t, qt.IsNil(err))
qt.Assert(t, rosina.FileContains("the-file", "contents"))
}
The name Rosina
is a humble homage to Rosina Ferrario, the first Italian woman pilot. She received her license in 1913. From the Wikipedia page in Italian you can find also other languages.