Comments (2)
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.
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)
- spy/mocks? HOT 3
- Add IsTrue() IsNotTrue() IsFalse() IsNotFalse() HOT 2
- Need more explanatory examples HOT 4
- IsEqual does not support Array Types HOT 2
- SpecDefinition should return its own reference HOT 2
- Provide a 'toBeCloseTo' matcher for precision math comparison HOT 3
- Asserting Err Object HOT 1
- Fail suite for unhandled error
- Run Test Suite classes with method per test HOT 6
- TestFixture() class as part of block?
- WorkbookReporter should be able to create it's own output sheet
- ArrayIncludes() cannot handle multi-dimension arrays HOT 1
- Function Examples end as Sub HOT 2
- Which documentation generator do you use?
- Possible memory leak?
- VBA testing HOT 1
- Update Workbook proxy HOT 1
- Plan: Performance testing extension HOT 4
- AfterEach HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vba-test.