Comments (12)
I would be really interested to get some details about what you are trying to achieve.
We are forwarding all test results to a central db/viewer. Ultimately we want to support special "Asserts" (e.g. compare 2 log files). Their results (which are more than just pass/fail) need to be recorded within the context of a suite/method parent. It might be helpful if MSTest had a way to emit custom TestNodeStateProperty
messages..?
This is experimental and may get complicated. If you'd like more info, it's probably best to do this outside this forum.
from testfx.
Hi @ray440,
Excited to here about the new MSTest runner
Glad to hear :)
I saw that it allows for custom report generators.
Out of curiosity, may I ask what kind of report you are trying to build? Just to see if it could be worth for us to provide it.
What is the best way to do this? Are there events for test discovery (suites, methods) and runtime checks (pass, fail, etc..)?
Let me craft a few simple examples as it can be useful! We will iterate over it until there is something good enough for you to build something custom.
from testfx.
✅ Successfully linked to Azure Boards work item(s):
from testfx.
@ray440 please see #2246 and let me know if that's providing enough context and information.
from testfx.
That sounds great!
from testfx.
@ray440 if that's ok with you, I'll move the issue as fixed and close it.
from testfx.
@ray440 if that's ok with you, I'll move the issue as fixed and close it.
Sure.
I'm struggling to get access to VSTestProperty
. They seem to be inaccessible or internal
.
from testfx.
I'm struggling to get access to VSTestProperty. They seem to be inaccessible or internal.
They are internal for now (I don't recall what was the reasoning but I will look it up tomorrow).
from testfx.
They are internal for now (I don't recall what was the reasoning but I will look it up tomorrow).
I suspect there are good reasons. In the meantime, I think I can hack around it to get the info I need.
from testfx.
I would be really interested to get some details about what you are trying to achieve.
from testfx.
It might be helpful if MSTest had a way to emit custom TestNodeStateProperty messages..?
When you are talking about "emit custom TestNodeStateProperty
messages, do you mean if MSTest was exposing an API (e.g. TestContext
or something else) for users to send some states or do you talk only about the internal of MSTest? On the latter, that's already possible.
from testfx.
@ray440 I am moving this ticket as closed. Feel free to add more comments or open a new one if you have some other problem,
from testfx.
Related Issues (20)
- MSTest is broken when using deployment items HOT 5
- Add code fix for MSTEST0017
- Analyzer: Ensure to use Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute and not System.ComponentModel.DescriptionAttribute HOT 2
- Question: Get test file location and test line number with MSTest.Sdk/3.x.x programmatically HOT 2
- Should we do a double WaitForExit? HOT 3
- given SystemProcess wraps process, should it be disposable? HOT 1
- Unify how attributes are handled and how tests are discovered HOT 1
- Wrong year in docs/Changelog.md for 3.4.x releases HOT 1
- 3.4 is not working with Fakes HOT 12
- ConsiderEmptyDataSourceAsInconclusive throws to catch the exception on the next line
- Release notes for 3.4.0 are pointing to the main branch and some links are broken HOT 1
- AssemblyCleanup executes after first test point in multi-test-point test run via Azure Devops Release pipeline VsTest Task when all tests are associated to the same TestMethod HOT 2
- MSTest 3.4.1 does not work with .net472 AND when using deployment item when running from Visual Studio HOT 1
- should settings parsing ignore invalid values? HOT 2
- MSTest.Sdk aspire feature doesn't reference released version
- mstest 3.4.1 does not discover a method from unit tests in visual studio when returning a Task with multiple frameworks HOT 4
- Use `ConcurrentDictionary` for attribute cache
- Move ReflectionHelper to PlatformServices
- Add a globally accessible TestContext.Progress logger HOT 1
- Missing NuGet packages for 3.4.2 release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testfx.