Skip to content

Test cases

olup edited this page Oct 2, 2021 · 2 revisions

packaging

For packaging we should consider a couple of possible variations that should be cross-tested:

  • without externals and with externals
  • in a single repo and in a monorepo
  • with global packaging and with package: individually

Other thing to test, but not necessarily cross tested:

  • with each packager (only yarn will have the monorepo test case)
  • patterns of inclusion / exclusion

Test pass critérium:

  • Build should not fail
  • Maybe use snapshot of bundle and node_modules file structure ?
  • Maybe run the bundle and check it's output ?
Clone this wiki locally