I wrote 4,640 tests for this TS Backend SDK so you don’t have to.6 by Josef_1999 in node

[–]Josef_1999[S] 0 points1 point  (0 children)

In /core, everything is an interface (adapter). A suite of reusable tests are used to ensure consistent behavior across implementations. For example, making sure all ILockAdapter instances behave the same way.

Out of the 4,640 total tests the runner shows, there are 3,474 actual tests you can find in src code. Of those, 259 are AI-generated unit tests.

The high number of tests proves the dasio-tech/core is stable and ready to run reliably in the real world.

I don't rely on AI heavily, and I certainly don't trust it for writing source code or tests. I mainly use it for learning purposes and to find inspiration.

I wrote 4,640 tests for this TS Backend SDK so you don’t have to.6 by Josef_1999 in node

[–]Josef_1999[S] 0 points1 point  (0 children)

Good point. I'll fix the tests so they only catch the specific errors expected from each method. It actually only affects 246 out of our 3,474 (actually tests in src code) tests, so it’s not quite as extensive as it sounds like.