Changes between Initial Version and Version 1 of Ticket #6820, comment 4


Ignore:
Timestamp:
09/21/2018 05:57:17 PM (23 months ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6820, comment 4

    initial v1  
    88  * nodeunit on the other hand doesn't know anything about promises and you have to make sure to call the provided callback if your async test is done, after manually asserting that any promise involved is resolved successfully. Even worse, once the first test fails the process terminates immediately, while asynchronous cleanup tasks might still be pending. 
    99* You can group tests together, and have hooks that run either before/after each test in the group, or once before/after all tests in the group. 
    10   * nodeunit on the other hand can only run setup and teardown code for each test, which makes it impossible to share resources across multiple tests, and again once a test failed it doesn't wait for asynchronous teardown tasks to complete. 
     10  * nodeunit on the other hand can only run setup and teardown code for each test, which makes it impossible to share resources across multiple tests. 
    1111 
    1212What I personally dislike: