Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New testing strategy #426

Open
Tracked by #502 ...
robcxyz opened this issue Mar 18, 2024 · 1 comment
Open
Tracked by #502 ...

New testing strategy #426

robcxyz opened this issue Mar 18, 2024 · 1 comment

Comments

@robcxyz
Copy link
Contributor

robcxyz commented Mar 18, 2024

Need to adopt some framework for unit / integration tests. e2e is fine (needs freshening up) but everything else is super lacking. This issue isn't about making all the tests but just figuring out strategies / how it hooks into CI

@robcxyz robcxyz mentioned this issue Apr 1, 2024
45 tasks
@robcxyz
Copy link
Contributor Author

robcxyz commented Apr 29, 2024

What I can do in pytest that I need in a js package

  • Marking a test as skippable
  • Simple way to iterate through a list of inputs and run a test on each one -> NOT run one test that runs a loop -> We need report for each iteration
  • Fixtures that I can share across tests
    • Setup + teardown logic (ie run before and after)
    • Make fixture global to run before all the tests or before each test
  • Mocking classes / function calls

JS needs the same

@robcxyz robcxyz mentioned this issue Oct 6, 2024
39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant