Skip to content

Commit

Permalink
Add validate app test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBaeumer committed May 16, 2019
1 parent 8b6ad76 commit f6952ce
Show file tree
Hide file tree
Showing 3 changed files with 434 additions and 383 deletions.
10 changes: 10 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ func (g *GossRunTime) GetGossConfig() GossConfig {
}
OutStoreFormat = getStoreFormatFromData(data)
gossConfig = ReadJSONData(data, true)
} else if specFile == "testing" {
json := []byte(`
command:
echo hello:
exit-status: 0
stdout:
- hello
timeout: 10000
`)
gossConfig = ReadJSONData(json, true)
} else {
source = specFile
path = filepath.Dir(specFile)
Expand Down
Loading

0 comments on commit f6952ce

Please sign in to comment.