From: Fredrik H. <fre...@ax...> - 2017-09-27 08:52:29
|
As long as one does not rely on global resources in the tests, typically stuff that is set up in unchecked fixtures or before tests are run at all, it should be theoretically possible. Only problem that needs to be adressed is result reporting that currently, as far as I can remember, is not done in a locked manner and therefore may mix different results and probably break. /HUGO. On 09/27/2017 02:59 AM, Branden Archer wrote: > I do not see why parallel tests would not be possible if fork mode is used. > > - Branden > > On Thu, Sep 21, 2017 at 9:54 PM, David Niklas <do...@ma... > <mailto:do...@ma...>> wrote: > > On Sun, 30 Oct 2016 13:02:39 -0400 > Branden Archer <b.m...@gm... > <mailto:b.m...@gm...>> wrote: > > Check does not have support for running test cases in parallel. I > cannot > > say definitively for all unit testing frameworks, however ever unit > > testing framework I've personally used has only offered to run tests > > sequentially. > > > > Our library has support for handling multiple application requests at > > the > > > same time, It will really help us if we have option in CHECK test > > > framework to simultaniously running selected testcases. > > > > > > Are you trying to find a way to run many requests against your code > > concurrently to ensure that it responds properly? This sounds more > of an > > integration or system-level test instead of a unit test. If > instead you > > are concerned about there being multiple threads in your application > > and if Check can still unit test such a setup, Check can do this. > > > > - Branden > > Not that I'm volunteering, but because check starts another process > so as > not to crash the parent (unless nofork is used), wouldn't parallel > checking be possible from a technical standpoint? > > Thanks, > David > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Check-users mailing list > Che...@li... > <mailto:Che...@li...> > https://lists.sourceforge.net/lists/listinfo/check-users > <https://lists.sourceforge.net/lists/listinfo/check-users> > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Check-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-users > |