Open
Description
Increasing Access
Currently p5.Table.js has test suites only for loading a table in loadTable.js and saving a table saveTable.js . However, there are areas with missing test cases for eg: Modifying a table (addRow, removeRow, etc. ) or building a table from scratch which would increase the code coverage of p5.Table.js , indicated below:
p5.js uses mocha, mocha-chrome, chai.js assert, and expect for its unit tests.
There are separate files for different test suites, loadTable.js and saveTable.js
Maybe the modifyTable.js can be another file that can be added to the unit test or the modify table tests can be written in an existing file.
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build Process
- Unit Testing
- Internalization
- Friendly Errors
- Other (specify if possible)
Feature enhancement details
- Increasing the code coverage for p5.Table.js
- writing new unit tests using mocha, chai.js, etc.
- Tweaking into more test cases for correct format of values entered/modified in the table.