Skip to content

Full Test Coverage & new Formatter Options

Compare
Choose a tag to compare
@ghiscoding ghiscoding released this 07 Nov 15:48
· 2226 commits to master since this release

This week Angular-Slickgrid just hit a Major Milestone 馃殌 , the library is now Fully Tested with a test coverage of 99.7%. Why not 100% you might ask? Well there's about 25 lines that I haven't found out how to test and/or are lines that are unreachable from a test perspective. So I'm happy to put this aside as a completed task.

This version also adds some extra Formatter Options (a total of 6 options available) that can be applied to all regular Formatters/Grouping Formatters at once (even globally if you wish), these are the 2 new options (decimalSeparator and thousandSeparator) and more info can be found in this Wiki.

So please, if you like the lib and haven't yet up voted, please do so 猸愶笍 cheers 馃樃

Even though most of the work was done by myself, I am thankful for all feedback & contributions, even small, to make this library more stable and what it is today. I also see more questions about Angular-Slickgrid on Stack Overflow, which is great and is also the best place to ask for questions so please continue on that trend as more people can answer your questions.

Cheers
Ghislain aka @ghiscoding

Some Unit Tests & Code Statistics

  • 135 files tested
  • ~8000 lines tested
  • ~2200 unit tests
  • 99.7% test coverage (~25 lines are untestable)
  • you can see the full test coverage via codecov
    image

You thought Angular-Slickgrid was just a simple SlickGrid wrapper... well think again 馃懛

Release

Features

  • cypress: upgrade to latest version of Cypress (0f1fd87)
  • formatterOptions: add decimal,thousand separator to all Formatters (20345bb)
  • tests: add missing unit tests for Excel Export Service (eb0a536)
  • tests: add more Angular-Slickgrid component unit tests (01bfd6f)
  • tests: Angular-Slickgrid Component add missing unit tests (0094494)

Fixes

  • filter: add missing radius (right) on compound input filters (e1aaefd)
  • firefox: thousand separator regex lookbehind not allow, fixes #336 (4c3ed76)
  • pagination: never display page 0, minimum should be page 1 (a44af9f)