GithubHelp home page GithubHelp logo

Custom Report Generator about testfx HOT 12 CLOSED

ray440 avatar ray440 commented on June 2, 2024
Custom Report Generator

from testfx.

Comments (12)

ray440 avatar ray440 commented on June 2, 2024 1

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.

Evangelink avatar Evangelink commented on June 2, 2024

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.

testplatform-bot avatar testplatform-bot commented on June 2, 2024

✅ Successfully linked to Azure Boards work item(s):

from testfx.

Evangelink avatar Evangelink commented on June 2, 2024

@ray440 please see #2246 and let me know if that's providing enough context and information.

from testfx.

ray440 avatar ray440 commented on June 2, 2024

That sounds great!

from testfx.

Evangelink avatar Evangelink commented on June 2, 2024

@ray440 if that's ok with you, I'll move the issue as fixed and close it.

from testfx.

ray440 avatar ray440 commented on June 2, 2024

@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.

Evangelink avatar Evangelink commented on June 2, 2024

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.

ray440 avatar ray440 commented on June 2, 2024

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.

Evangelink avatar Evangelink commented on June 2, 2024

I would be really interested to get some details about what you are trying to achieve.

from testfx.

Evangelink avatar Evangelink commented on June 2, 2024

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.

Evangelink avatar Evangelink commented on June 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.