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

Test "Unit tests" in Web IDE #240

Open
9 tasks
xpyctumo opened this issue Feb 4, 2025 · 0 comments
Open
9 tasks

Test "Unit tests" in Web IDE #240

xpyctumo opened this issue Feb 4, 2025 · 0 comments

Comments

@xpyctumo
Copy link

xpyctumo commented Feb 4, 2025

The user should be able to run Unit tests of their contracts directly in the Web IDE.

In order to do this, it is necessary to check:

  • The Unit Test tab is available and opens without problems
  • User can select files in dropdown that match the *.spec.ts filter in the file name
    • "Run" button becomes available when a file is selected
      • Tests in a jest-based file will be run
      • When user save the file and have the Unit test tab is active, the tests should automatically run
      • There should be information in the log about running tests
  • If no suitable files are found in the project, there should be a “Required file not found” label in the dropdown
  • When user add a new *.spec.ts file, it should also appear in the Unit test tab
  • If user delete any *.spec.ts file, it should also disappear from the Unit test tab
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