yaronn / blessed-contrib

Build terminal dashboards using ascii/ansi art and javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - tests

cancerberoSgx opened this issue · comments

Sorry to ask this here, but, how are you guys testing this ? If there are no tests, can I make a PR with a proposal for functional / automation tests ? Thanks

Unfortunately no tests. I'd be happy if you want to contribute on this part :-)

I'm testing my blessed elements, like in the following spec: https://github.com/cancerberoSgx/accursed/blob/master/spec/treeViewKeysSpec.tsx

as you can see the tests simulate keypress and assert against element's getContent() What do you think? could I contribute with a couple of tests like this ?

Thanks

I think that would work.
How about a small PR for one of the simpler widgets as a start?