72 Commits

Author SHA1 Message Date
Kevin Pilch 5e3aa442b8 Convert to .NET Core 3.0 2018-12-01 12:46:52 -08:00
Heejae Chang 8c3c86d918 made wpf xunit runner to support showing/filtering running tests so that if we get deadlock or hang tests, we can see what the test it was running easily. 2017-10-31 17:23:22 -07:00
Fredric Silberberg 6d4a249a97 Fix first open and default autoreload case 2017-06-05 15:49:35 -07:00
Fredric Silberberg 686404bb7f Remove from watch when removed from the program. 2017-06-02 16:25:17 -07:00
Fredric Silberberg e41071ddb0 Added autoreloading of test assemblies 2017-06-02 16:19:08 -07:00
Fredric Silberberg 13f0cedb64 Fix whitespace 2017-06-02 16:18:53 -07:00
Sam Harwell 1e2fe65dfa Improve sort order to prefer to ignore case 2017-03-25 17:22:33 -05:00
Sam Harwell d26343057f Avoid adding duplicate tests
Fixes a crash when attempting to run tests in an assembly containing one or
more parameterized tests with duplicated parameter sets.
2017-03-25 16:06:16 -05:00
Sam Harwell 412c9b78fe Use the unique ID of test cases instead of display name for lookups
Fixes a crash when attempting to run the StyleCop Analyzers test suite.
2017-03-25 12:25:49 -05:00
Matt Warren 9a94bfd08d clear select flags on collection reset 2016-10-29 02:39:43 +00:00
Matt Warren cd411e5d56 support running selected tests 2016-10-29 02:33:26 +00:00
Matt Warren ed8641a896 Fix progress updates 2016-10-28 22:16:17 +00:00
Dustin Campbell 9ff7831bff Add Assembly->Recent submenu 2016-05-20 11:11:23 -07:00
Dustin Campbell 50eb75cff6 Ensure that we don't crash during a run if a test is filtered out during the run 2015-12-06 11:02:14 -08:00
Dustin Campbell 4bc641e575 Invert test case filter buttons and mark skipped tests during discovery
The filter buttons are now unchecked by default, which has the meaning of no filter applied. Clicking the filter buttons the applies that filter. In addition, we now mark skipped tests when they are discovered.
2015-12-06 11:02:01 -08: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 4f1e23d036 Merge pull request #51 from DustinCampbell/multi-select-traits
Allow multi-selecting traits for filtering
2015-12-06 10:51:56 -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
Matt Warren 89d919dceb Add support for taskbar progress 2015-12-04 16:52:04 -08:00
Dustin Campbell f1879e1a06 Display traits in tree view with check boxes 2015-12-04 14:30:45 -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
Ravi Chande e7cb648b28 Make test name filtering case-insensitive 2015-10-23 12:28:06 -05: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 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 cb39c7af29 Merge pull request #27 from Pilchie/ui-tweaks
A few UI tweaks
2015-10-12 09:23:59 -07:00
Jared Parsons 0d96b29a7a Allow opening of multiple assemblies at a time 2015-10-12 09:20:42 -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
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
Jared Parsons 65f3fc970e Test run can be filtered by traits 2015-08-23 20:50:59 -07:00
Jared Parsons 06f1c8c703 Traits displaying in the UI 2015-08-23 19:20:34 -07:00
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 7fce7c8e62 Merged with master 2015-08-19 14:50:53 -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 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