James Adarich
James Adarich
Put a brief note about using Alsatian to test JS code, why there is no native JS version and why you would test JS with Alsatian
Allow user defined failure messages to override the default Alsatian E.g. ```typescript Expect (2 + 2).toBe(5).toFailWith("you got the answer wrong"); ```
Expect should add metadata instead of throwing so that we can harvest multiple expect failures for people ** breaking change **
ACTUAL: ```console Any(Object).thatMatches("property", 42) -> {"_argumentStringifier":{},"_testers":[{},{}]}, FAIL: example test ( {"_argumentStringifier":{},"_testers":[{},{}]}) ``` EXPECTED: ``` FAIL: example test (Any Object and with property 'property' equal to '42') ```