ddneat / tropic

🍍 Test Runner Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Tasks

ddneat opened this issue · comments

  • Child process should notify main process (cli) about passing/failing tests
  • Main process (cli) should handle reporting
  • Handle long running tests e.g.: timeout
  • Async tests with done callback
  • Async tests with promises
  • Support --require option (babel support)
  • Limit workers to require('os').cpus().length
  • Add test.describe to enable block declarations and easier tropic adoption
  • Implement --mode to support execution of all test files in one child process
  • Expose createSpy
  • Implement --state to support only and skip across multiple files
  • Watcher: new test files should be added to execution
  • Implement -f --fail-fast
  • Implement -s --sync
  • Add .editorconfig
  • Handle long running test files which will not trigger process.beforeExit

Check / Analyze

  • Analyze process.exitCode
  • Check power-assert (--require espower-loader or intelli-espower-loader)
  • Check TypeScript support

Nice to have

  • Implement -h --help
  • Refactor cli/index.js
  • Refactor runner and prepare error message with proper tests
  • Provide rspec like test functions
  • Analyze including an assert
  • Analyze rspec (BDD) interface
  • Implement beforeEach
  • Implement afterEach
  • Implement test.failing which expects a test to throw
  • Implement test.timeout which sets the maximum time to resolve
  • Implement test.todo which has only description of an test which is currently not implemented
  • Implement --exclude-watch / --watch-excludes
  • Analyze rerunning only changed files/tests in watch-mode (maybe --cache)
  • Implement --export-report to json (note: watch should not trigger)
  • Analyze browser alternatives according processes, sendMessage and beforeExit ...

Since I never cared... I will finally just close this issue.