Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JavaUnitTest ¶
func JavaUnitTest(w http.ResponseWriter, r *http.Request)
JavaUnitTest is a handle function for Java unit tests. It writes the Application.java file in the tmp folder and returns the docker run configuration
func OpenTestFile ¶
func OpenTestFile(name string) (io.ReadCloser, error)
OpenTestFile is like os.Open but for accessing test files.
func OutputTest ¶
func OutputTest(w http.ResponseWriter, r *http.Request)
Handle function for an output test run. It writes the file with code in the tmp folder and returns the docker run configuration.
Types ¶
type Failure ¶
type Failure struct {
Message string `xml:"message,attr"`
}
Failure holds a failure created by junit
Click to show internal directories.
Click to hide internal directories.