vba-test
Add testing and TDD to VBA on Windows and Mac (by VBA-tools)
Fluent-VBA
An object-oriented fluent unit testing library for VBA (by b-gonzalez)
Our great sponsors
vba-test | Fluent-VBA | |
---|---|---|
2 | 3 | |
194 | 5 | |
1.5% | - | |
0.0 | 8.1 | |
about 2 years ago | 8 days ago | |
VBA | VBA | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vba-test
Posts with mentions or reviews of vba-test.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-04.
-
I created a fluent unit testing framework in VBA
Yup, this framework is a bit different from traditional unit testing frameworks. In addition to the ones you mentioned, vba-test is another popular one. This framework is in the fluent style. It was inspired by Fluent Assertions in C#.
-
Best practices for building / testing code?
If you want to go fancy, i.e. Unit Testing (kinda), have a look at vba-test.
Fluent-VBA
Posts with mentions or reviews of Fluent-VBA.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-04.
-
What are your biggest VBA projects?
As a personal project, I created a fluent unit testing framework in VBA. The project uses 18 class modules: 12 classes and 6 interfaces. It uses the OOP concepts in VBA (encapsulation, polymorphism, and composition) heavily. It incorporates +150 tests including a number of tests to test itself. There are +3k loc in total. And the project took around a year to put together on and off.
-
I created a fluent unit testing framework in VBA
You can check out my mTests.bas module to see the set of tests that I use to test the framework. These tests are located in the runMainTests sub. this sub runs three other subs: metaTests, positiveDocumentionTests and negativeDocumentationTests. metaTests are what the framework uses to tests iteself. Positive tests check that the API should return true when it should. And negative tests check that the API should not return false when it shouldn't. In addition to that, I have six example subs showing the different types of ways tests can be written.
What are some alternatives?
When comparing vba-test and Fluent-VBA you can also consider the following projects:
stdVBA - VBA Standard Library - A Collection of libraries to form a common standard layer for modern VBA applications.
Battleship - An Object-Oriented VBA experiment
VBA - Code Blocks relating to everything VBA
crypto_vba - An Excel/VBA project to communicate with various cryptocurrency exchanges APIs