Started working on automatic tests

This commit is contained in:
Eduard Urbach 2017-10-02 08:46:10 +02:00
parent 38fd739009
commit 28d307201d

20
jobs/test/test.go Normal file
View File

@ -0,0 +1,20 @@
package main
import (
"os"
"os/exec"
)
func main() {
cmd := exec.Command("go", "test", "github.com/animenotifier/notify.moe")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err := cmd.Start()
if err != nil {
panic(err)
}
cmd.Wait()
}