Skip to content

Commit

Permalink
TODO notes
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Feb 7, 2021
1 parent 6fa2f2e commit 91e319c
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
try this: $ npx ava --tap | npx tap-nyan

research mocha reporter(TAP > reporters | json stream metada then it consumes this metadata(how?))
example good reporters: spec(reporter), dot, tap, landing strip(interesting instead put percentage), jest

esbuild ./tmp/test/passing-tests.js --bundle > test.js
parse qunitx in the package.json for config

failFast and babelOptions?
files(and to ignore), require, timeout
concurrencyStrategies

add node and browser options
add functionality to execute only one test
add reporters

pass timezone: https://stackoverflow.com/questions/16448754/how-to-use-a-custom-time-in-browser-to-test-for-client-vs-server-time-difference/39533934#39533934
= qunitx --timezone="US/Pacific"

QUnit regex filters

Jest Notes
==========
TestSequencer
- this failed in the past? run first
- when file changed latest
- this test run in the past and was long? long tests run first
- file size

TestScheduler
- schedule across threads
- reporters
- dont spawn many threads if total test count is small
jest-runner/jest-puppeteer(check this)

read jest-worker/worker_thread implementation


check if jest-qunit exists

jest-runtime(creates VM context)
allows module mocking, custom require implementation, also does transforms
runs the tests
transform is sync in jest(dep tracking problem)

TestResult / Repoter
- all data has to be json serializable for threads
- stack trace of errors
- how many assertions

AggregatedRestResult[]
- finished test case, how long, each assertion
- check jest runners

qunitx init


write test metadata(each test) if flag is provided

markdown reporter(interesting: https://mochajs.org/#markdown)

0 comments on commit 91e319c

Please sign in to comment.