Giter VIP home page Giter VIP logo

Comments (8)

mattwhitfield avatar mattwhitfield commented on June 8, 2024 1

Ok, well I have an initial cut of the record type support - I didn't do the equality checks yet - I think if I do that I would emit general tests for anything that implements IEquatable<T>. There are examples of the record type generation at https://unitverse.readthedocs.io/en/latest/examples/RecordTypeInitProperties/ and https://unitverse.readthedocs.io/en/latest/examples/RecordTypesPrimaryConstructor/. I'd be interested to hear your feedback.

In fact, that is the case in general - if there's anything you think should be supported / configurable etc then please do open an issue 👍

from unitverse.

mattwhitfield avatar mattwhitfield commented on June 8, 2024 1

Sample for IEquatable output is https://unitverse.readthedocs.io/en/latest/examples/IEquatableTests/ - specifically the ImplementsIEquatable_Complex method

from unitverse.

mattwhitfield avatar mattwhitfield commented on June 8, 2024 1

Closing this now as I think everything is covered 👍

from unitverse.

304NotModified avatar 304NotModified commented on June 8, 2024 1

--> #55

from unitverse.

304NotModified avatar 304NotModified commented on June 8, 2024

Im excited to test this extension, but I really need record support. So would be great if added:)

from unitverse.

mattwhitfield avatar mattwhitfield commented on June 8, 2024

I was playing around with it this evening - I should have something out this week.

Question - would you expect it to emit tests to check the built-in equality checking? Or would construction and property checking be sufficient?

from unitverse.

304NotModified avatar 304NotModified commented on June 8, 2024

The latter. But maybe equality checking is a good idea as we could write custom equality checks. It's not that bad to remove the unneeded code.

from unitverse.

304NotModified avatar 304NotModified commented on June 8, 2024

I tried this today, and it failed (got an error, will report that soon). But unfortunately no minimal reproducible example yet

from unitverse.

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.