You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a 'done' message in the main view after all tests have run would:
Ensure that its easy to determine when tests are complete
if errors occur in before or after hooks not all tests will run, leading to the progress % stopping at less than 100%
Allow the test framework to be more easily installed in a CI system and the results extracted at the end of the run~
2) Add an easy way to re-run the tests.
Adding a restart or refresh button after all tests have run would make it easier to re-run tests without closing and reopening. This functionality is partially available in that clicking on a group heading in the tests will navigate the framework to grep URL (e.g. http://localhost:3001/v1.2/app/index.html?grep=fdc3%5C.getOrCreateChannel) that will allow you to run just that group. However, there is no way to navigate back to the beginning and re-run all tests.
3) Refine or replace the test selection menu to work with Mocha's built-in grep functionality.
If you click on group heading in the test report, the framework navigates to a grep URL (e.g. http://localhost:3001/v1.2/app/index.html?grep=fdc3%5C.getOrCreateChannel) which will run just that set of tests. However, the menu is not aware of this and will indicate that all tests are being re-run - when they will not be.
The menu should be aware of the current filter (so it can select the appropriate entry from the menu) and should be able to override/change it. This may mean rebuilding that functionality using Mocha's own filtering support.
The text was updated successfully, but these errors were encountered:
There are a number of refinements that should be made to the test framework to make it more usable:
1)
Add a clear indication that tests are complete.(superceded by #240)
Adding a 'done' message in the main view after all tests have run would:
2) Add an easy way to re-run the tests.
Adding a restart or refresh button after all tests have run would make it easier to re-run tests without closing and reopening. This functionality is partially available in that clicking on a group heading in the tests will navigate the framework to grep URL (e.g. http://localhost:3001/v1.2/app/index.html?grep=fdc3%5C.getOrCreateChannel) that will allow you to run just that group. However, there is no way to navigate back to the beginning and re-run all tests.
3) Refine or replace the test selection menu to work with Mocha's built-in grep functionality.
If you click on group heading in the test report, the framework navigates to a grep URL (e.g. http://localhost:3001/v1.2/app/index.html?grep=fdc3%5C.getOrCreateChannel) which will run just that set of tests. However, the menu is not aware of this and will indicate that all tests are being re-run - when they will not be.
https://mochajs.org/#grep
The menu should be aware of the current filter (so it can select the appropriate entry from the menu) and should be able to override/change it. This may mean rebuilding that functionality using Mocha's own filtering support.
The text was updated successfully, but these errors were encountered: