For test cases where the password should be updated, you should ideally perform a check on the database to ensure a new password is there.
对于应当更新口令的测试用例来说,理想情况下应当在数据库上执行检查,确保那里有一个新口令。
Additional code could be added to perform a check to see if the new value is a user-defined value indicating that the database value should be set to NULL or the default value defined for the column.
可以添加额外的代码来执行一个检查,检查新值是不是一个用户定义值,用以表明数据库值应该被设置为NULL或针对该列定义的默认值。
Every time you perform a check like this, you halve the number of lines you have to search.
每次你都这样检查,你就让你要检查的代码数量减半了。
Every time you perform a check like this, you halve the number of lines you have to search.
每次你都这样检查,你就让你要检查的代码数量减半了。
应用推荐