fossasia / pslab-desktop

PSLab Desktop Application https://pslab.io
GNU General Public License v3.0
1.77k stars 364 forks source link

write tests #632

Open orangecms opened 3 years ago

orangecms commented 3 years ago

Add tests for simple units that transform data retrieved from the PSL bridge as a start. Integration tests should be added later as well, especially around the IPC handlers.

A good start is utils/preProcessor.js. A test framework will need to be set up first. The most suitable option for us is likely Jest, as it allows for testing all we need.

For integration tests, we will need to get spectron in place and stubs. This is out of scope for now.

utkarsh147-del commented 3 years ago

I want to work on this.Assign this to me

orangecms commented 3 years ago

Thanks! Please just file a pull request. There is no formal assignment here. :)

utkarsh147-del commented 3 years ago

Yeah sure

On Tue, Nov 17, 2020, 17:23 Daniel Maslowski notifications@github.com wrote:

Thanks! Please just file a pull request. There is no formal assignment here. :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fossasia/pslab-desktop/issues/632#issuecomment-728877690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARS4LCPM2A24HZTIDCXNGQLSQJP3BANCNFSM4SLE3Y3A .