Commit Graph

57 Commits

Author SHA1 Message Date
Jared Parsons ea51cd39eb Cleaned up the UI model a bit
Factored all the code for managing the state around ITestSession
interaction into a single method.
2015-08-21 17:00:55 -07:00
Jared Parsons a3cfe6c3c5 Respond to PR feedback 2015-08-21 13:45:43 -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 7fce7c8e62 Merged with master 2015-08-19 14:50:53 -07:00
Jared Parsons dadcde5f12 Re-enable AppDomains
These are necessary in order to pick up .config entries when running
tests.
2015-08-19 14:36:38 -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 0f1ce7705d Work 2015-08-19 14:05:24 -07:00
Jared Parsons d032f3e16d Don't use AppDomains
This is unnecessary overhead in the worker and makes the runner
significantly harder to debug.
2015-08-19 13:57:42 -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 2756a3bd17 Rude shutdown no longer errors
Fixed rude shutdown of the client application to no longer cause
unhandled exceptions in the worker process.
2015-08-19 13:40:26 -07:00
Jared Parsons 6c3a38c8d0 Cancellation for unit test runs re-implemented 2015-08-19 13:34:10 -07:00
Jared Parsons 0d3374d149 Remove Xunit refs from WPF runner
The WPF runner doesn't actually engage with xunit anymore and hence
doesn't need any references to it.
2015-08-19 12:59:45 -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 af4d141bcc Worker can now run tests 2015-08-19 12:23:11 -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
Jared Parsons 535147162d Added packages.config 2015-08-19 10:47:39 -07:00
Jared Parsons 07dea77a2f Correct worker dependency
Now have very crude implementation of discovery that doesn't use shadow
copying and doesn't lock DLLs in memory.  TONS of work to be done here
but beginning to get the basic pattern.

First step in resolving #4
2015-08-19 10:43:36 -07:00
Jared Parsons ecf83004c2 Discovery now out of proc 2015-08-19 00:15:10 -07:00
Jared Parsons 2c634c042b Simple exe for discovery 2015-08-18 23:52:40 -07:00
Kevin Pilch-Bisson cd16b674bc Output failure info to textbox
Fixes #11
2015-08-15 22:04:50 -07:00
Kevin Pilch-Bisson 12c1d4b36d Add command line support for config files
Fixes #8.
2015-08-15 21:43:24 -07:00
Kevin Pilch-Bisson c759430219 Use toggle buttons instead of radio buttons
Fixes #5.
2015-08-15 21:03:42 -07:00
Kevin Pilch-Bisson 4e22e89d6e Load assemblies from command line on startup
Also, display a dialog while loading

Fixes #10
2015-08-15 20:27:31 -07:00
Kevin Pilch-Bisson eeeb04c78e Reset state counts when a new run begins. 2015-08-11 16:00:32 -07:00
Kevin Pilch-Bisson d4467e7fd0 Dispose of FrontControllers. 2015-08-11 15:39:28 -07:00
Kevin Pilch-Bisson 5c0489ac7f Merge pull request #1 from bradwilson/master
Use test case serialization to remove xunit.core dependency
2015-08-09 19:22:53 -07:00
Brad Wilson a9d24a610d Use test case serialization to remove xunit.core dependency 2015-08-09 13:45:46 -07:00
Kevin Pilch-Bisson 2e07a602e1 Implement the State Filters and Counts. 2015-08-09 12:28:05 -07:00
Kevin Pilch-Bisson c82e4d7e73 Reset state when a new run begins 2015-08-09 12:06:45 -07:00
Kevin Pilch-Bisson 70f10e9e36 Shorten delays 2015-08-09 10:23:57 -07:00
Kevin Pilch-Bisson 5c2e9be8c1 Progress bar and test state UI 2015-08-09 10:23:49 -07:00
Kevin Pilch-Bisson e9ff5d9325 Running, cancelling, and progress. 2015-08-09 00:58:43 -07:00
Kevin Pilch-Bisson febaa83921 Start trying to support Run 2015-08-09 00:03:25 -07:00
Kevin Pilch-Bisson c32936d333 Implement filter and fix testcase display. 2015-08-08 22:55:16 -07:00
Kevin Pilch-Bisson 9c62a0a2ae Use FilteredCollectionView from xunit.devices 2015-08-08 22:31:03 -07:00
Kevin Pilch-Bisson 98e37b6924 Use AppDomains, and then remove xunit.core. 2015-08-08 21:59:21 -07:00
Kevin Pilch-Bisson 83224c1c6a ViewModel for Test Cases 2015-08-08 21:56:08 -07:00
Kevin Pilch-Bisson 1b0de61cae Bind the methods caption 2015-08-08 21:52:29 -07:00
Kevin Pilch-Bisson 79b9068e30 ViewModel for Assemblies 2015-08-08 21:43:15 -07:00
Kevin Pilch-Bisson f0ec262f76 Re-add xunit.core so that things work. 2015-08-08 21:42:51 -07:00
Kevin Pilch-Bisson 09a2cdcda3 Add some traits 2015-08-08 21:40:57 -07:00
Kevin Pilch-Bisson aef6e9c3af Remove references that a runner shouldn't need. 2015-08-08 21:17:48 -07:00