Open xhd2015 opened 6 months ago
Look like a good idea. maybe xgo can be a all in one test suite?
Look like a good idea. maybe xgo can be a all in one test suite?
@WAY29 Thanks, groovy supports this assert feature, that's where the idea comes from. As for all in one, it could be completely possible if we can provide all features out of box that are required for writing tests.
When writing asserts, could we just naturally do the actual check without repeating any name?
Current situation:
If we can just write:
And xgo prints the variable name and actual value in a breaking down style upon failure:
Besides, I think maybe we need to let user write AST plugins.