ciscoheat / buddy

Your friendly BDD testing library for Haxe!
MIT License
96 stars 24 forks source link

1.0.1 Errors #46

Closed clarkjones closed 8 years ago

clarkjones commented 8 years ago

I can break this out into separate issues if you like but I figured I'd just give a summary of what I've seen first

ciscoheat commented 8 years ago

Thanks for your help! The first problem is fixed now (1.0.3), it's easy to forget to use full namespaces for macro-generated code.

The C++ could be because you're not linking in all the required ndll files, or you can add -lib hxcpp to do that automatically.

Yes, --interp support is dropped, I've updated the docs. Use -x instead.

If you find any test failures that shouldn't fail, please report them in a separate issue. Thanks. :)

clarkjones commented 8 years ago

Thanks for the quick response, For my failing tests, I think your new beforeEach implementation is behaving a little differently now which might be the expected behavior, I'm not sure. Looks like before/beforeEach does not get executed for every spec that is within a nested describe (a describe at the same level as a beforeEach). Adjusting to isn't a big deal if its the expected behavior.

ciscoheat commented 8 years ago

Yes you're right, before/afterEach doesn't walk through the whole tree for every spec, it should do that. Thanks, I'll release a new version soon.

ciscoheat commented 8 years ago

Version 1.0.5 is released now, should take care of this. Thanks again for reporting, it enabled some nice refactoring also.

clarkjones commented 8 years ago

The new version is working great. Thank you for all the work you've put into this.

ciscoheat commented 8 years ago

I'm glad you're using it. :)