Skip to content

Commit

Permalink
fix: dont read two times the testsuites (#327)
Browse files Browse the repository at this point in the history
Signed-off-by: francois  samin <[email protected]>
  • Loading branch information
fsamin authored Nov 23, 2020
1 parent ca30acf commit 22f1c8d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions process.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,6 @@ func (v *Venom) Parse(path []string) error {

// Process runs tests suite and return a Tests result
func (v *Venom) Process(ctx context.Context, path []string) (*Tests, error) {
filesPath, err := getFilesPath(path)
if err != nil {
return nil, err
}

if err := v.readFiles(filesPath); err != nil {
return nil, err
}

testsResult := &Tests{}

for i := range v.testsuites {
Expand Down

0 comments on commit 22f1c8d

Please sign in to comment.