chartjs-plugin-dragdata icon indicating copy to clipboard operation
chartjs-plugin-dragdata copied to clipboard

Tests - setup

Open artus9033 opened this issue 1 year ago • 2 comments

In relation with #40, this PR brings the following:

  • [x] adds a CI workflow for running tests with GH Actions
  • [x] adds tests coverage with istanbuljs, rollup-plugin-istanbul, nyc, jest and playwright-test-coverage
  • adds tests base:
    • [x] unit tests (Jest + istanbuljs)
    • [x] integration (Jest + istanbuljs)
    • [x] end-to-end (Playwright)
  • [x] coverage report merging (NYC) from all test types
  • [ ] implements testing of - at least - the following (as in #40):
    • [ ] dragging on all types of charts is working on both axes
    • [ ] dragging on stacked charts is working
    • [x] dragging to min & max is working on both axes
    • [x] the callbacks are provided with the correct function arguments
    • [x] rounding of values is working correct
    • [x] dragData: false within a dataset is working as expected
    • ❌ ~~touch device support~~ probably no proper API in Playwright exists for that
  • [ ] implements tests having a reasonable code coverage level
  • [x] code coverage CI integrated with a cloud coverage platform for bot report comments, history & badges

artus9033 avatar Jan 28 '24 18:01 artus9033

Welcome to Codecov :tada:

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered :open_umbrella:

codecov-commenter avatar Feb 01 '24 23:02 codecov-commenter

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered :open_umbrella:

codecov[bot] avatar Feb 04 '24 23:02 codecov[bot]