Mocha Tests framework
Mocha test framework
Basic command
npx slnodejs mocha \
--tokenFile ./sltoken.txt \
--buildSessionIdFile buildSessionId \
--testStage "Unit Tests" \
--useSlNode2 \
-- --recursive test- name: Mocha tests with SeaLights
env:
SL_TOKEN: ${{ secrets.SL_TOKEN }}
run: |
npx slnodejs mocha \
--token "$SL_TOKEN" \
--buildSessionIdFile buildSessionId \
--testStage "Unit Tests" \
--useSlNode2 \
-- --recursive testnpx slnodejs mocha `
--tokenFile .\sltoken.txt `
--buildSessionIdFile buildSessionId `
--testStage "Unit Tests" `
--useSlNode2 `
-- --recursive testParameters
Parameter
Purpose
Multiple reporters
Suite mapping
Last updated
Was this helpful?

