VBA-tools / vba-test

Add testing and TDD to VBA on Windows and Mac
MIT License
202 stars 46 forks source link

Refactor into vba-test #23

Closed timhall closed 6 years ago

timhall commented 6 years ago

vba-test is a new approach to VBA-TDD that simplifies the API and allows for future work on more powerful assertion messages and integration with vba-blocks.

You can view a mockup of the new API here: vba-test/readme

The underlying changes are a complete rename and refactor, although the approach is generally already in use in v2.0.0-beta (with an evented suite). It may be a burdensome upgrade to map .Expect(A).ToEqual B to .IsEqual A, B, but I think it will be a welcome simplification and opens up new avenues in the future.

Closes #11 Closes #12 Closes #13 Closes #16 Closes #17 Closes #22

timhall commented 6 years ago

Ok, this is ready to merge, here is a short upgrade guide:

Some of the previous matchers will most likely be added back at some point in the future, but for now I'm happy with the simplified API.