Ember gives you the power to write tests and be productive from day one. You can be confident that your app will be correct today and years from now. A question remains: How should you write tests?
Since tests are a core part of the Ember framework and your development cycle, I will dedicate several blog posts on best practices for writing tests, based on my experience at work and former life as mathematician.
Today, we will cover why testing is important, what tools can help you with testing, and how to run and debug your tests.
Please note that some tools may be readily available for Ember only. However, the best practices that I will mention should be independent of your framework. After all, tests are a universal language, just like math is.
In 2019, in addition to continuing work on the items above, I’d like to see us work on building a larger community. Our community, while truly amazing and supportive, is yet small. To flourish, we need support from developers who don’t work with Ember daily. These developers may professionally work with React, Angular, or Vue. They may be self-taught or attending school, looking to enter tech with minimal risk in career trajectory and minimal time to create showcase projects.
I believe we can do 3 things to welcome these developers:
Publish better website (address design and content)
At EmberConf 2019, I had the chance to meet and learn from many Ember developers around the globe. I’m excited about Ember Octane, a new edition built with developer productivity and app performance in mind. It’s in beta and readying for release. I think there’s no better time to learn and use Ember.
This tutorial covers how to load complex data in a predictable manner and how to add animation to liven up your site. A hearty thanks goes to Sam Selikoff and Ryan Toronto, whose teaching at the conference I’m heavily basing mine on. They had taken time to build a polished demo app; I was inspired to follow their footsteps.