“Testing Without Mocks” example now in TypeScript

0 views
Skip to first unread message

James Shore

unread,
Feb 19, 2023, 5:24:53 PM2/19/23
to jamesshor...@googlegroups.com
Hi everyone,

Just for those of you who love TypeScript: I’ve updated my “Testing Without Mocks” example with a TypeScript branch. You can find it here:


To learn more about “Testing Without Mocks,” see the Nullables hub here: https://www.jamesshore.com/v2/projects/nullables

Cheers,
James

--
James Shore - The Art of Agile

voice: +1 503-267-5490
blog: jamesshore.com

James Shore

unread,
Feb 24, 2023, 3:31:06 PM2/24/23
to jamesshor...@googlegroups.com
Hi everyone,

Following on the heels of the simple "Testing Without Mocks" TypeScript example I released earlier this week, I’ve now made the complex example available in TypeScript as well:

https://github.com/jamesshore/testing-without-mocks-complex/tree/typescript

This example shows the “Testing Without Mocks” patterns in a real-world environment. It has two servers (a web server and a microservice), logging, correlation IDs, error handling, timeouts, and request cancellation. Almost everything is implemented from scratch, with thorough documentation, allowing you to trace through the code to see how it works.

For those of you who prefer JavaScript, the same example is also available in JavaScript:

Reply all
Reply to author
Forward
0 new messages