Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Write tests #28

Open
6 of 11 tasks
banacorn opened this issue Jan 12, 2016 · 2 comments
Open
6 of 11 tasks

Write tests #28

banacorn opened this issue Jan 12, 2016 · 2 comments

Comments

@banacorn
Copy link
Owner

To-do

  • setup testing environment
  • continuous integration
  • actually write down some tests
    • package activation
    • commands
    • input method
    • others
@omega12345
Copy link
Contributor

What's the status on this one? It struck me while I was blundering about breaking stuff that you get a fair few tests for free that way. I don't quite know enough about Atom packages to figure out how to format tests, though.

@banacorn
Copy link
Owner Author

There are many test suites (Jasmine, Mocha, Jest ...). In theory we can use any of the suite we like to write tests. However, some tests require bindings to Atom, and Atom only "supports" an old version of Jasmine, other suites would require some addition machinery.

The suite I'm prefer is Jest (works great with React, has Reasonml binding ...), but the binding is either unmaintained and dunno how to use, or broken. I think I can get this to work given I have enough time. But perhaps I should just stop using this as an excuse and starting writing unit tests that doesn't require Atom anyway :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants