Misleading Tests for User Management

Hi There

The tests for user_management are misleading

The task suggests the following order

However for the first test not to error the delete_user method needs to be implemented.

Once that has been implemented the test run fine.

An improvement may be to suggest writing both functions at once (add_user delete_user) or writing all functions at once

image

Hi @ahaw021,

Thanks for sharing the feedback. The thought behind this is to implement everything then run the test, but you are right that we as developers like to test one thing at a time, I will share the feedback with the team and lets see what we can do.

Kanika