Feature Requests
290 results found
-
Shortened name should just be the test name when viewing with Tree Structure set to test
Currently, when I want to view tests in flat list, I set the tree structure to "Test" but all the following columns display the same values
Name, Shortened Name and Full Test Name !
It would be helpful if the Shortened Name just displayed the test name rather than the full namespace.
4 votes -
Add an attribute like [Isolated] which applies to each member of a fixture rather than the fixture as a whole
The [Isolated] attribute currently only provides isolation for the fixture, not each test within it. Where tests need to be isolated, they need to be individually annotated.
It would be nice to have an attribute like [IsolateEachMember] which could apply to each test in a fixture.
4 votes -
Test result icon next to method name
In the text editor when all the test methods are collapsed, we cannot see which test have failed.
If an icon next to the method declaration was also displayed we could know which one needs to be expanded and work on without the need to look at the overall NCrunch test window.
4 votes -
Support Windows Runtime Components
Support C++ Windows Runtime Components. These are used in Windows Store projects. One of the cool things about WinRT is that you can mix and match languages. I'm not talking about running tests against C++, just allow referencing them. Currently even referencing a component breaks NCrunch compilation for the whole solution.
4 votes -
Support IntelliTrace when debugging tests
At the moment I am unable to make use of IntelliTrace when debugging tests using the NCrunch test runner.
I use IntelliTrace frequently while debugging, and find it especially useful when I want to look into ADO.Net calls from ORMs.
4 votes -
Copy engine mode
I have fairly non trivial engine modes with test filters set. I want to create a new engine mode based on existing but only tweak e.g. a condition in the filter.
It would help a lot if could copy an existing engine mode and tweak it instead of re-doing the entire filter.4 votes -
SSL support for NCrunch Grid Node server
Its a must for remote grid nodes
4 votes -
Show number of lines uniquely covered by a test
Today, the test fail/pass indicators on each line show which tests are executing that line.
I would like to have an option (maybe in the Metrics window) which tells me the number of lines covered solely by one test.
My goal behind is to identify code that is only run by few system/integration tests and clearly needs more tests. Such tests might start/run half of the system just to prepare a test so that - from the coverage point of view - the code looks like to be covered but - from the testing point of view - actually isn't…
4 votes -
Ncrunch Metrics Filter
The inclusion of a filter in the Metrics folder would be great. At the moment I have to export to excel and filter which doe snot give me a lot of options. Filtering by name and project and ability to exclude would be great
4 votes -
Remote server: Add some sort of performance index per server
I would like to have some index indicating how well the grid node server performs related to other servers.
For instance, if I run 2 grid servers on Azure and 2 on internal network, I want to know if it's worth adding more servers on Azure or on internal network (or if it helps out scaling Azure servers etc.).One idea might be to have an average processing time on tests, and check when test has been executed on different servers is above or below the average execution time and calculate some sort of performance index from those measurements and…
4 votes -
Add Setting to Allow NCrunch to Output to Standard Console
Add a way to force console output to appear in the regular 'Output' window rather than having to click the test itself and see the output.
This would be extremely useful so i view my Console.WriteLine output in real time in the Output window rather than having to wait until the test finishes and have to click on it to see the output. Also when my tests fail by throwing exceptions when using FluentAssertions, the code hangs on that line and anything i wrote to the console is lost when i stop debugging the test.
Basically we just need to…
4 votes -
Az Devops Pipeline Tasks - (It could give you guys good product exposure $$$)
Actually In Az Devops, we all use others products, mostly free for ours CI/CD pipelines.
(for (1) tests result export for quality gates, (2) "test coverage" threshold and (3) "performance" flags (why not a new product with performance regression test on is(even in main product)
even the horrible dotcover has a free tasks. I would like to use NCrunch out-of-the box there, simple drag and drop
3 votes -
Add support for custom MSTest V2 "custom" TestClass and TestMethod Attributes
MSTest suports overriding certain behavior in the TestClass and TestMethod attributes using inheritance.
This blogpost describes the pattern well: https://www.meziantou.net/mstest-v2-customize-test-execution.htmNcrunch currently does not discover tests with custom attributes as tests, so this customization is not available using NCrunch
3 votes -
Support runsettings TestRunParameters
My MsTest project has a simple .runsettings file like this:
<RunSettings> <TestRunParameters> <Parameter name="foo" value="bar" /> </TestRunParameters> </RunSettings>
These parameters are supposed to be injected at runtime into all test classes TestContext property
public TestContext TestContext { get; set; }
Then you can use that property like this:
[TestMethod] public void TestMethod1() { Assert.AreEqual("bar", TestContext.Properties["foo"].ToString()); }
Unfortunately the this doesn't work when running NCrunch as the properties are not picked up. There doesn't seem to be a way to specify the path to the .runsettings file in NCrunch settings.
When running via Visual Studio or on Azure DevOps this works…
3 votes -
Integration Test Detection Metric
Some of the pitfalls of Integration tests are listed in the docs (https://www.ncrunch.net/documentation/guides_integration-testing) and identifying when they've been accidentally introduced into the test suite would be a nice feature.
An Integration Test Detection could be a metric or report that identified unit tests that are executing a large number of production code classes. In an ideal unit test the number would be 1, the class/system under test. For tests that are tightly coupled to other classes the number might grow quickly. These are problem areas that might need some design work to reduce the coupling or maybe just…
3 votes -
Update or replace the NCrunch Forum software
The software used for the NCrunch Forum (forum.ncrunch.net) is really terrible for this day and age.
I tried to search for a DPI issue, and it griped at me for trying to search for fewer than four characters.
I tried to upload an image to show the DPI issue I was having, and it wanted me to give the URL of the image.
I'm sure this forum software was fine, at least better than nothing, back when NCrunch first came out, but just like NCrunch has improved over time, so has online forum software, and it seems like time to…
3 votes -
Allow more flexibility in test and hierarchy display
Currently there are six hard-coded ways to display tests in the NCrunch Tests window.
My proposal is that in place of this hard-coded list, there be a way to specifically configure what I want to see:
- Category (on/off)
- Project (on/off)
- Namespaces (one level per dot, or all grouped in one level, or none)
- Fixture (on/off)
- Test (full namespace.class.name / just method name)
Usually except for large projects I'd prefer to just show the test name, but currently there's no way to do that. "Test" view shows namespace.class.testname.
3 votes -
Add a way (toolbar button ideally) to pin visible tests.
Often I want to pin failing tests, then make a change so a large number pass, then I want to unpin the passing ones. I can unpin all, show only failing then would like to pin all visible.
3 votes -
VSTS Plugin to show the Code Coverage over time
The console tool is cool to generate a report. If there would be a VSTS plugin to show the coverage absolut or over time this would be a great feature.
3 votes -
Allow an ignored test to be run manually
When a test is ignored either allow it to be run manually or disable the "Run selected test in new task runner process" in the popup menu in "NCrunch Tests" window.
Right now you can click the item in the popup menu but the test is not run.
Preferably I would rather be able to run the test on demand.3 votes
- Don't see your idea?