Can I mix BDD and xUnit tests within the same suite (CFC)?
I asked on Slack, and Brad mentioned that he thought no, since for each, one extends a different base spec; however, I thought that both syntaxes used the same base spec (testbox.system.BaseSpec):
-
http://testbox.ortusbooks.com/content/primers/xunit/bundles_group_your_tests.html
-
http://testbox.ortusbooks.com/content/primers/bdd/bundles_group_your_tests.html
FWIW, I tried to throw a function run( testResults, testBox ){}
in my xUnit suite, but it took over, and it was the only thing that ran. I don’t know if there’s a trick to mixing them, or if it’s just not possible.
Thanks,
Jamie