Giter VIP home page Giter VIP logo

Comments (8)

renatoathaydes avatar renatoathaydes commented on August 14, 2024

Hi!

Sorry, we cannot support parallel builds for now.
We hope to fix this in a release in the near future!

from spock-reports.

renatoathaydes avatar renatoathaydes commented on August 14, 2024

This is obviously an essential feature, everyone should be using parallel test execution! Will make an effort to include this already in the next release, 1.2.6.

from spock-reports.

renatoathaydes avatar renatoathaydes commented on August 14, 2024

Parallel builds are currently supported in branch issue-39. I would really appreciate anyone who can try it with some large parallel builds in Windows and Mac (I've done it in Linux)!! Please let me know if you can do it.

Hope to release it as soon as I know it works in a few OS's... this is because this feature relies on FileLock, which may present different behaviour depending on the OS, unfortunately.

from spock-reports.

treyturner avatar treyturner commented on August 14, 2024

I would be happy to test this on Mac and Linux if you could explain to me how I could implement the branch version into my Gradle build. Right now I'm implementing via Maven repository in my build.gradle. If this is too much trouble, I'll patiently wait for the feature to be merged.

Thanks again for looking at this; the timing is perfect because the default Spock reports stopped generating for me a while ago and I haven't been able to figure out why. 😟

from spock-reports.

renatoathaydes avatar renatoathaydes commented on August 14, 2024

To test this, you just need to clone this repo in your local machine, build it, then publish the artifacts to your local Maven repo.

Here's how to do it:

git clone [email protected]:renatoathaydes/spock-reports.git
cd spock-reports
git checkout issue-39
bash ./gradlew clean publishToMavenLocal

You can then change the spock-reports version in your own project's Gradle script to be the version you've just built (now it is 1.2.6-SNAPSHOT).

If you have trouble, run the builld with the --info option or --stacktrace:

gradle clean test --info

from spock-reports.

treyturner avatar treyturner commented on August 14, 2024

I just wanted to note that this process and the code update worked great for me on OSX 10.10. We don't do things massively in parallel at my shop, but I was able to have the result of about 40 tests all dump to the index.html from four different threads.

I thought I'd be able to test on Linux, but getting the snapshot artifact into a repo that that machine can access isn't going to be possible. Thanks again for your help and I look forward to this feature being merged.

from spock-reports.

renatoathaydes avatar renatoathaydes commented on August 14, 2024

Thank you! I've already tested linux. Will try to test on Windows myself later (I have Windows in my laptop but haven't used it for over an year!) before releasing.

from spock-reports.

renatoathaydes avatar renatoathaydes commented on August 14, 2024

Confirmed the fix works in Windows! Took me a long time because I hadn't turned on the Windows laptop in years, so it was hard to get it working/building/updated.
Will release as soon as Windows stops updating stuff and my backups are finished!

from spock-reports.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.