More Unit Tests and some minor fixes
There are now over 1300+ unit tests and the lib is now over 70% coverage, the unit test portion is almost finished (only 1 export service left to test), the next phase would be integration tests (editors, filters, pagination & angular-slickgrid entry file). Some of the Services required some code refactoring which is also why we released this under a minor (semver) version.
EDIT
As of version 2.9.5, all Services and all Unit Tests are done, the only major testing left to do would be Integration Tests (editors, filters, pagination & angular-slickgrid entry file). This also means that all major pieces, all the mechanic if we could say, of the library are now fully tested and a few small issues were detected and fixed while doing all of these nearly 1400 tests and we have now achieve 75% coverage (also worth to know, there are 7000 lines of code to test). 🎉 😸
Features
- (tests): add AngularUtilService full test suite
- (tests): add all Filter Conditions full test suite
- (tests): add GroupingAndColspanService full test suite
- (tests): add GridEventService full test suite
- (tests): add SortService full test suite
- (tests): add FilterService full test suite
- (tests): add ExportService full test suite
- (tests): add more ResizerService tests
- (cypress): add Cypress E2E tests to CircleCI build
Fixes
- (backend): regression from previous commit in both backend services using GridState
- (filter): regression, small issue detected when using compound filter
- that version was only out for a day
- (export): exporting null or undefined should replace by empty string
- (menu): Column Picker & Grid Menu not updated dynamically, closes #233 (PR #234)
- (export): fixed a few small issues detected in ExportService while adding unit tests
- (slickgrid): use previous version of Slickgrid to fix column autosize
- (gridMenu): external grid menu was not triggering
- (backend): clear empty filter by header menu not stopping spinner
- (gridMenu): adding user customItems in GridMenu was no longer showing
- (selection): selected row should be none after filtering, closes #249