multihack / multihack-brackets

Realtime collaboration for programmers. (Brackets Extension)
MIT License
24 stars 9 forks source link

Automated tests #36

Open t-mullen opened 7 years ago

t-mullen commented 7 years ago

If anyone can find an example of how to write tests for Brackets extensions, that would be much appreciated.

tweakimp commented 7 years ago

What exactly do you want to test?

t-mullen commented 7 years ago

I wanted to automate general workflow.

Eg) User connects, user joins room, user types into file, other user gets changes.

It'll help catch a lot of the regressions. I know how to do it for web, but I can't find any example of Brackets testing. Brackets itself has no top-level automated tests.

t-mullen commented 7 years ago

Example test suite for a Brackets extension: https://github.com/redmunds/brackets-quick-markup