Is it possible to parallelize rspec tests in Appveyor

Tim Smith's Avatar

Tim Smith

20 Dec, 2017 10:24 PM

Is it possible to break out rspec tests and run them in parallel in Appveyor. I'd love to just run different rake tasks and break out my rspec tests withing the rake tasks. The examples are all Visual Studio, which leads me to believe the categories functionality won't work for a Ruby project. Any chance I'm wrong?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 21 Dec, 2017 01:17 AM

    Ilya Finkelshteyn's Avatar

    Hi Tim,

    I assume that you are asking about AppVeyor's parallel testing. Note that this is basically build matrix, just suited to tests. You can use environment-variables based approach, combined with build script.

    P.S. Test do not actually run in parallel on the same VM, but separate build processes on separate VMs are triggered. Though this consumes concurrent build jobs, it eliminates concurrency issues common to the parallel test execution.

    Let us know if this helps.

    Ilya.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac