truffle icon indicating copy to clipboard operation
truffle copied to clipboard

Expand documentation of Typescript testing

Open haltman-at opened this issue 4 years ago • 2 comments

Issue

We seem to support writing Typescript tests in some form, but the details are unclear and it seems to be barely documented. There's a section for it on the page on writing Javascript tests, but it says basically nothing -- the "see for more" link in it just links back to the top of the same page!

Also, similar to @gnidan's idea in #3770 that there should be a "supported languages" page, maybe there should similarly be a "supported testing languages" page?

haltman-at avatar Feb 09 '21 20:02 haltman-at

We should also consider expanding our support, possibly by running ts-node when detecting TS tests

gnidan avatar Mar 03 '21 18:03 gnidan

So, to make @gnidan's comment more explicit: Apparently currently you can't just write tests in Typescript, but rather it requires additional setup, which will need to be documented. (But it would also be nice if it didn't require that additional setup.)

haltman-at avatar Mar 03 '21 18:03 haltman-at