Commit Graph

111 Commits

Author SHA1 Message Date
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 f1879e1a06 Display traits in tree view with check boxes 2015-12-04 14:30:45 -08:00
Kevin Pilch-Bisson 8ceecdcf03 Merge pull request #49 from jasonmalinowski/add-scrollbar-to-output-pane
Show a scroll bar on the test output pane
2015-12-03 16:13:19 -08:00
Jason Malinowski d9667f4da0 Show a scroll bar on the test output pane 2015-12-03 16:07:06 -08:00
Kevin Pilch-Bisson a2636ff762 Merge pull request #47 from DustinCampbell/storage
Save and restore the position of the Main window
2015-12-03 15:58:28 -08:00
Kevin Pilch-Bisson d5d832535d Merge pull request #48 from mattwar/reload
Enable Unload and Reload menu items
2015-12-03 15:53:59 -08:00
Matt Warren db0ca68d65 Enable unload and reload menu items 2015-12-03 15:46:46 -08:00
Dustin Campbell 135eccb795 Save and restore the position of the Main window
It's pretty annoying that the XUnit runner always starts with the same width and height. This
change adds code to save and restore the position. It uses the Win32 `GetWindowPlacement` and
`SetWindowPlacement` APIs to ensure that the normal position is properly saved and restored
regardless of whether the window is maximized or not.
2015-12-03 08:37:59 -08:00
Kevin Pilch-Bisson bb5668e555 Merge pull request #46 from DustinCampbell/config-file-support
Support test assembly configuration files
2015-11-30 13:50:52 -08:00
Dustin Campbell 6a8f13dda2 Support test assembly configuration files 2015-11-30 13:45:41 -08:00
Kevin Pilch-Bisson 1b6ef5fd9a Merge pull request #44 from DustinCampbell/improve-start-run-perf
Improve start up performance of test runs
2015-11-05 10:18:43 -08:00
Kevin Pilch-Bisson 6f0ae76ad4 Merge pull request #43 from DustinCampbell/output-in-fixed-width-font
Update output window to use fixed-width font
2015-11-05 10:15:54 -08:00
Dustin Campbell 96428a7a96 Improve start up performance of test runs
Before a test run, we collect all of the test cases to use in the run. Unfortuantely, we were using the same slower test discovery mechanism that we previously used when loading test assemblies. This change switches that code path to use the faster mechanism that we've already put in place.
2015-11-05 06:56:58 -08:00
Dustin Campbell 1a347531d9 Update output window to use fixed-width font 2015-11-05 06:56:34 -08:00
Kevin Pilch-Bisson cd64e95e73 Merge pull request #42 from rchande/caseinsensitivefiltering
Make test name filtering case-insensitive
2015-10-23 10:33:00 -07:00
Ravi Chande e7cb648b28 Make test name filtering case-insensitive 2015-10-23 12:28:06 -05:00
Kevin Pilch-Bisson 8ff92c76d3 Merge pull request #41 from nguerrera/coreclr-worker
Make worker source compatible with .NET Core
2015-10-17 18:49:15 -07:00
Nick Guerrera 58e14e7b3d Make worker source compatible with .NET Core
* Work around lack of Environment.Exit
* Eliminate dependency on binary serializer
* Close -> Dispose
* Inline NamedPipeServerStream.MaxAllowedServerInstances = -1
2015-10-16 22:21:48 -07:00
Dustin Campbell 3128c8d5b5 Merge pull request #40 from Pilchie/recycle-worker-process
Recycle worker process on test discovery to enable us to disable AppDomains for that scenario
2015-10-14 16:14:30 -07: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
Dustin Campbell 5d1a11eec7 Merge pull request #38 from CyrusNajmabadi/uiUpdate
Update UI more sparingly.  Avoid hotspot in Xunit discovery
2015-10-14 16:09:36 -07:00
Cyrus Najmabadi 836a4f59d6 Handle messages in batches 2015-10-14 15:06:25 -07:00
Cyrus Najmabadi cf33c99ea3 Update UI more sparingly. Avoid hotspot in Xunit discovery 2015-10-14 14:17:51 -07:00
Dustin Campbell 045fec126a Merge pull request #37 from Pilchie/serialize-less
No need to serialize the entire test case if we don't use it
2015-10-14 13:54:27 -07:00
Dustin Campbell e9735dfb2b No need to serialize the entire test case if we don't use it 2015-10-14 13:41:19 -07:00
Dustin Campbell 77ab0cbffe Merge pull request #36 from Pilchie/assembly-reload
Fix assembly reloading
2015-10-14 13:11:10 -07:00
Dustin Campbell bb1a2206b4 Fix assembly reloading
* Assembly reload didn't remove all test cases properly as it needed to compare file names with a case-insensitive match.
* Add "Discovering tests..." text to assembly view while loading tests.
2015-10-14 13:08:48 -07:00
Kevin Pilch-Bisson b232c55813 Merge branch 'dpoeschl-master' 2015-10-13 11:08:40 -07:00
Kevin Pilch-Bisson 95dc906281 Merge branch 'master' of https://github.com/dpoeschl/xunit.runner.wpf into dpoeschl-master
Conflicts:
	xunit.runner.wpf/Converters/TestStateConverter.cs
2015-10-13 11:08:06 -07:00
Kevin Pilch-Bisson 984beba184 Merge pull request #33 from Pilchie/application-icon
Use proper xUnit application icon
2015-10-13 11:03:16 -07:00
Kevin Pilch-Bisson 8b0fdadc3f Merge pull request #30 from Pilchie/xunit-2.1
Update to released xunit 2.1
2015-10-13 11:02:38 -07:00
Dustin Campbell 0cc8f3aba8 Use proper xUnit application icon 2015-10-13 09:21:17 -07:00
Kevin Pilch-Bisson fd72605d9d Update to released xunit 2.1 2015-10-12 12:13:26 -07:00
Kevin Pilch-Bisson cb39c7af29 Merge pull request #27 from Pilchie/ui-tweaks
A few UI tweaks
2015-10-12 09:23:59 -07:00
Kevin Pilch-Bisson 6aa5a6c0cd Merge pull request #23 from Pilchie/oneproc
Couple of fixes
2015-10-12 09:21:31 -07:00
Jared Parsons 90643fbf8f Worker can process tasks in parallel 2015-10-12 09:20:44 -07:00
Jared Parsons 0d96b29a7a Allow opening of multiple assemblies at a time 2015-10-12 09:20:42 -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
Kevin Pilch-Bisson 4371a4e837 Merge pull request #26 from Pilchie/issue-25
Fix issue where running a specific test was treated as running all of them
2015-10-12 09:11:57 -07:00
Dustin Campbell 65adde358c A few UI tweaks
Notably, the images for passed, failed and skipped have been replaced with images from the Visual Studio Image Library.
2015-10-12 08:58:11 -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 9934a70f52 Merge pull request #22 from Pilchie/reload
Implement Assembly reload and remove support
2015-08-29 10:10:55 -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 e3a17c5308 Respond to PR feedback
Handled everything but the race condition.  Going to fix that in a
separate commit.
2015-08-27 16:41:14 -07:00
Jared Parsons 89be98bebc Naming consistency 2015-08-23 23:09:23 -07:00
Jared Parsons 9e5ac70234 Fix reload bugs
Fixes a couple of bugs in the Reload / Remove logic.
2015-08-23 23:08:00 -07:00
Jared Parsons b35da545d6 Added remove all assemblies menu item 2015-08-23 23:01:54 -07:00
Jared Parsons 3a7d01b87e Add Assembly reload support
Can now reload individual or all currently loaded assemblies.

closes #2
2015-08-23 21:25:21 -07:00
Jared Parsons 0e24227de0 Ability to clear trait selection
This should fulfill issue #7
2015-08-23 21:00:28 -07:00