26 Commits

Author SHA1 Message Date
Kevin Pilch 8e6a0ea916 Don't create windows for worker processes 2018-12-01 12:56:01 -08:00
Sam Harwell 0a52154c60 Propagate CancellationToken where applicable 2017-03-25 17:16:23 -05:00
Dustin Campbell cdf37c40ad Moar clean up 2015-12-06 10:57:45 -08:00
Dustin Campbell d4122f3a0c Correct namespaces to be pascal-cased
Conflicts:
	xunit.runner.wpf/ViewModel/MainViewModel.cs
2015-12-06 10:56:21 -08:00
Dustin Campbell dbbb6b3fad Actually make trait filter work and get rid of lots unnecessary allocation 2015-12-06 07:14:36 -08:00
Dustin Campbell 0137b1a60b recycle worker process on test discovery to enable us to disable AppDomains for that scenario 2015-10-14 16:12:47 -07:00
Cyrus Najmabadi 836a4f59d6 Handle messages in batches 2015-10-14 15:06:25 -07:00
Jared Parsons 90643fbf8f Worker can process tasks in parallel 2015-10-12 09:20:44 -07:00
Jared Parsons d861f4a6ee Made connection async
The connection to the worker process was sync on the UI thread which
could lead to hangs.  Made it an async operation instead.

This did require me to upgrade to the 4.6 framework to use the
NamedPipeClientStream::ConnectAsync method.  If that is a blocker I can
downgrade back to 4.5.2 and use Thread tricks to get a similar effect.
2015-10-12 09:20:41 -07:00
Jared Parsons 3f894e0e7c Correct debugging workflow
There is now a single worker process model for all requests.  Debugging
workflow is to attach to this process and debug there.

closes #20
2015-10-12 09:19:44 -07:00
Dustin Campbell ae5e46d772 Fix issue where running a specific test was treated as running all of them 2015-10-12 06:28:42 -07:00
Jared Parsons 13afb6eea5 Fixed the race condition in the run and discover tasks 2015-08-27 17:13:55 -07:00
Jared Parsons ad66e46217 Made send of test case list non-blocking 2015-08-21 13:36:36 -07:00
Jared Parsons 4fe71ae114 Run now filters to search results 2015-08-20 17:04:42 -07:00
Jared Parsons 0eaf76ca81 Distinguish between Run and RunAll 2015-08-20 15:54:02 -07:00
Jared Parsons 2076e4a457 Remove dispatcher arguments
Can be captured by RemoteTestUtil at startup.
2015-08-20 15:00:43 -07:00
Jared Parsons f7fe8d802a Discover is non-blocking 2015-08-19 17:54:51 -07:00
Jared Parsons 9d8850c98f Remove exceptions is standard workflow
Added markers to the IPC stream so the client knows when to stop
reading.  The previous behavior was to just read until the pipe was
empty and swallow the exception.
2015-08-19 17:00:49 -07:00
Jared Parsons f3b7baa377 Fix cancellation 2015-08-19 14:33:41 -07:00
Jared Parsons d9e63a3572 Fix build 2015-08-19 14:28:35 -07:00
Jared Parsons 3a8503e4bc Fix build issue 2015-08-19 14:23:27 -07:00
Jared Parsons cf5c313d28 Used a changing pipe name
This ensures that we can have multiple worker processes running at the
same time.
2015-08-19 13:47:48 -07:00
Jared Parsons 6c3a38c8d0 Cancellation for unit test runs re-implemented 2015-08-19 13:34:10 -07:00
Jared Parsons 99bbd2c2c9 Remote execution from the UI
The UI now executes the tests in a separate process.  This removes the
need to shadow copy and frees up the idea of re-running the tests
without restart of the UI.
2015-08-19 12:58:57 -07:00
Jared Parsons 65ff09fcae Parameterized runner on action verb 2015-08-19 11:19:04 -07:00
Jared Parsons f367f9c01f Factor discover to a better interface
The discover process still needs a ton of work but this at least puts it
behind a slightly better interface.
2015-08-19 11:07:45 -07:00