Coder Social home page Coder Social logo

Plan: Update runners about vba-test HOT 2 CLOSED

vba-tools avatar vba-tools commented on September 21, 2024
Plan: Update runners

from vba-test.

Comments (2)

robodude666 avatar robodude666 commented on September 21, 2024

What would SpecSuite.Debug do?

Might be better to separate the running from the displaying, which will help in writing custom display methods without having to worry about the runner portion of it.

This will allow the runner calculations to live inside of SpecSuite, but then allow a printer/display delegate to be assigned which will get (event?) callbacks when a spec is started, "it" is ran, and final results, etc.?

The printer would only then be responsible for displaying information it's provided.

from vba-test.

timhall avatar timhall commented on September 21, 2024

I agree, I think the whole idea of a "runner" doesn't work currently since the SpecSuite actually runs the specs.

Adding events for specs is interesting (I've been reading more about them lately, http://www.cpearson.com/excel/Events.aspx). That'll require some changes to separate SpecSuite creation and running (currently the runner gets the spec suite after it's run so no events would be fired). At the minimum, the goal is to move the calculations to SpecSuite

The main idea of SpecSuite.(Print, Results, Debug) was to have a simple way of output spec results to the Immediate Window, but I'll re-evaluate after I start playing with it.

from vba-test.

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.