jenkinsci / jenkinsci/parallel-test-executor-plugin

Support for languages other than java?

Open
#21 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
54
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm testing a rails project that uses rspec with the junit results formatter.

It produces output like:

```

```

but when I run the parallel test executor, my exclusion list ends up looking like:

```
[...,
"spec/features/parents/add_applicant_spec.java",
"spec/features/parents/add_applicant_spec.class",
...]
```

I would expect this to use the `file` attribute of the original junit results, but it looks like it's trying to reverse engineer Java's naming scheme to turn the classname into .java and .class filenames?

I'm not sure if this is a bug in parallel tests executor plugin or my own Jenkinsfile. Here's the step where I report my test results:

```
step([$class: 'JUnitResultArchiver', testResults: 'artifacts/junit-*.xml'])
```

and here's the step where I get the splits

```
def splits = splitTests parallelism: [$class: 'CountDrivenParallelism', size: 4], generateInclusions: false
echo JsonOutput.toJson(splits)
```

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.