Giter VIP home page Giter VIP logo

Comments (7)

Tieske avatar Tieske commented on May 18, 2024

as mentioned in issue 24, I think that multithreading can be done at the testfile level. That would also be a perfect border for your case of depending tests. Or, also mentioned, at the top-level 'describe' functions, but in that case some documentation on this subject would be required.

from busted.

ajacksified avatar ajacksified commented on May 18, 2024

Yeah; I think we've decided that the threading will be per-file, with a flag to disable threads.

from busted.

Tieske avatar Tieske commented on May 18, 2024

as a request; check on Lanes being installed first, if not run sequential, otherwise use Lanes (unless flagged not to)

from busted.

DorianGray avatar DorianGray commented on May 18, 2024

I agree with the check idea. We should thread by default if lanes is installed, with an option to disable threading. If your tests break when threaded you're doing them wrong and deserve to have to do extra work to run your tests slower =)

from busted.

DorianGray avatar DorianGray commented on May 18, 2024

I vehemently disagree with a separate syntax for threaded tests. It clutters things.

from busted.

Tieske avatar Tieske commented on May 18, 2024

if you spawn threads on the file level, then I don't see why it would be necessary at all to have a separate syntax. Keep shared state at the file level and document the approach to multithreading. Syntax can stay as is.

from busted.

neha-bathra avatar neha-bathra commented on May 18, 2024

Hello Mr. DorianGray

I want to know when to perform multithreaded testing? can you please shed some insight on the same?

from busted.

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.