2023-06-28 17:21:59 +02:00
|
|
|
package file
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/remogatto/prettytest"
|
|
|
|
)
|
|
|
|
|
2023-10-07 11:43:12 +02:00
|
|
|
var testdataDir = "./testdata"
|
|
|
|
|
2023-06-28 17:21:59 +02:00
|
|
|
func TestRunner(t *testing.T) {
|
2023-11-20 14:14:09 +01:00
|
|
|
DefaultBaseDir = "testdata"
|
|
|
|
|
2023-06-28 17:21:59 +02:00
|
|
|
prettytest.Run(
|
|
|
|
t,
|
2023-10-07 11:43:12 +02:00
|
|
|
new(quizTestSuite),
|
|
|
|
new(collectionTestSuite),
|
2023-11-18 11:12:07 +01:00
|
|
|
new(participantTestSuite),
|
2023-11-21 15:12:13 +01:00
|
|
|
new(groupTestSuite),
|
2023-11-28 16:19:49 +01:00
|
|
|
new(examTestSuite),
|
2023-06-28 17:21:59 +02:00
|
|
|
)
|
|
|
|
}
|