I might turn this quick post into a blog post if I see interest.
I’m quite happy to announce that I just reached this week a major milestone, I just reached full test coverage in Aurelia-Slickgrid (see the demo site) . I’ve been developing Aurelia-Slickgrid (and Angular-Slickgrid) for the past 2 years. I have been constantly adding new functionalities since then, but I also started adding Unit Tests with Jest sometime during the Spring of this year (about 8-9 months ago).
Some Statistics on Testing
- 99.5% test coverage (~40 lines are not quite testable)
- 150 files tested
- ~8000 lines of code tested
- ~2200 unit tests
- a few Cypress E2E tests but the bulk are Jest Unit Tests
What is Aurelia-Slickgrid you might ask?
It’s basically a datagrid, but it’s a wrapper on top of the popular SlickGrid jQuery library (if you know ag-grid, well they basically got a big chunk of their ideas from SlickGrid when they started). However, there’s a big distinction between SlickGrid and Aurelia-Slickgrid, there’s a reason why there’s over 8000 lines of code to test. I added a lot of functionalities on top of the core library (OData/GraphQL Services. Excel Export, i18n support, Bootstrap theme, written in TypeScript… just to name a few).
Aurelia-Slickgrid is fully Open Source, I am not paid to develop it (though I had couple of contributions, thank you) and I only use Aurelia on personal projects. We sadly use Angular at work, and we needed a license free datagrid and not much was available at the time (and even now). I used SlickGrid few years back and started looking at the possibility of doing a wrapper in Angular… and so Angular-Slickgrid (for work) and Aurelia-Slickgrid (for pleasure) were born and greatly expanded since then.
As of now, Angular-Slickgrid has (166) while Aurelia-Slickgrid (45) I would be happy to get more interest on the Aurelia side
As I wrote on the top, I might expand this quick post into a Blog Post if some of you are interested to know more about this library. But for now, this is just a quick post in sharing this milestone for whoever is using my lib. I’d also be curious to know if any of you are using Aurelia-Slickgrid on big projects? Perhaps more in the future since it’s now fully tested!?!
See below for a print screen of some of the functionalities.