Git Product home page Git Product logo

Comments (3)

wintondeshong avatar wintondeshong commented on June 21, 2024 1

Sorry for the delayed response. At this time, the above approach is how consumers load factories. The hope is to fully abstract factories into its own library and make this loading easier on consumers. That said, if anyone wants to improve the loading of these factories now, totally down for any PRs 👍

Perhaps we update the title of this issue to "Simplify loading of factories by consumers"

from andculturecode.csharp.

brandongregoryscott avatar brandongregoryscott commented on June 21, 2024

I believe this is intended behavior - for consuming projects it is common to define your own 'base test' class that inherits from one of these base test classes with any configuration/setup necessary for the suite, and opts in to registering its own factories, if it has any. Based on the readme, looks like we never got around to filling in more documentation around how to start leveraging the factories.

from andculturecode.csharp.

jebediahelliott avatar jebediahelliott commented on June 21, 2024

I think you are right. After I wrote this issue, I noticed that the Core library defines it's own base test class with a static constructor to register factories. I'll update the readme and include an example.

from andculturecode.csharp.

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.