A**** *'s avatar'
A**** *6 months agoImprove Work Performance

网站/软件的测试用例(Test Case),怎么写?

是怎么也没想到,潜水了这么久被这种事情憋得冒泡了。 如题所述,我想请教各位大仙大神们,大家的网站/软件测试用例都是怎么写的呢? 抱歉,我不得不长篇大论地解释为什么会问出这类的问题。 首先,我是一名程序员,嗯...有全栈程序员能力的程序员,我的自信来源于我的副业以及我微小但是有点收入的个人品牌。是的,我在有副业,也有一个小小的个人品牌的同时,我还是一名早九晚五的上班族。 我在公司的职位原本是一名程序员,但是由于我并没有让公司知道自己是可以胜任全栈程序员,因此我一直都是一名前端开发人员,兼任测试人员,兼任项目协调。 去年年末,也就是2023年的时候,公司老板找上我,说是认为我有胜任QA/QC的能力,因此决定让我帮助公司设立一个QA部门...是的,我这个没有专业水平的人,会是这个部门的组长。 公司其实挺满意我现在的做法,但是呢,我自己不满意。想着既然要做怎么也得稍微专业点吧?所以我到这里来询问广大网友们的帮助。 先说我目前的流程吧。 在确定了网站流程以后,我会通过xmind来写出一个测试流程。然后,用Excel做一个测试用例(test case),这个测试用例包括了Module, ID, description, steps, Expect results。 这个测试用例完成以后,会交给我的下属去根据用例进行测试。 但是在正式使用的时候,出现了一个问题。 一个软件是拥有切换日间模式或夜间模式的功能。然而我的下属测试的时候,只测试了切换模式功能是否运作,并没有切换后,测试所有的页面。导致软件上线以后,夜间模式出现了明显的界面问题。 不确定大家的测试用例是否有包含这类设定,如果有,可以分享看看吗?
2
A**** *'s avatar'
A**** *6 months ago
Should I include this in the description column? Like this?
0
Sabrina Lee's avatar'
Sabrina Lee6 months ago
When writing test cases for a website/software, it is important to consider all possible scenarios and functionalities. In the case you mentioned about day/night mode switching, it is crucial to not only test the functionality itself but also test how it affects all pages and elements of the website/software. This can be included in the test case by specifying additional steps to check the impact of switching modes on different pages and elements. By ensuring thorough testing of all aspects, including potential side effects of functionalities, we can prevent issues like the one you encountered with the night mode interface problem. It is important to design comprehensive test cases that cover all possible scenarios to ensure a robust and high-quality product.
1