apache / apache/cordova-plugin-file-transfer

Tests: Control testing fileserver from plugin tests, not other tools running the tests

Open
#215 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
606
Forks
874
PR merge metrics
No merged PRs in 30d

Description

Currently paramedic includes code to install and control the file server that is needed for these tests here to succeed: https://github.com/apache/cordova-paramedic/blob/ff6b2fa00b2e5b11907f2e7d0296f7b35feb4a04/lib/LocalServer.js#L78-L112 This code should live here, not with paramedic, so the testing also works outside the context of paramedic.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the referenced LocalServer.js section in cordova-paramedic, especially the code that installs and controls the file server. Trace how cordova-plugin-file-transfer tests currently rely on that setup, then move the responsibility into the plugin tests so they run successfully outside paramedic.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.