Coder Social home page Coder Social logo

Comments (1)

Suremaker avatar Suremaker commented on June 2, 2024

Hi @lemonlion ,

The logic behind report generation is currently implemented as internal classes with the reasons you have summarized above.

I do not plan to expose all of these classes out as this will limit an ability to refactor them or replace logic when necessary and it will not make the customisability any way easier.

additional reasoning The good example is xunit which exposes tons of internal classes with virtual methods, but an attempt to customise it causes a lot of code being introduced or copied anyway. Feel free to take a look onto https://github.com/LightBDD/LightBDD/tree/master/src/LightBDD.XUnit2/Implementation/Customization to see how much had to be customised within LightBDD.

Instead of me exposing all the internals and virtualise all the private methods, could you please give some overview of the extensions you are looking to make? I will think of some extension points to be added to the library.

With LightBDD 3.7.0 and report refresh described here there is an ability to customise some parts of the reports (presented at the bottom of the linked paragraph). I will consider introducing similar extension points to the necessary sections of the report.

from lightbdd.

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.