Actually, happy path tests aren't an antipattern.
实际上,愉快路径测试并不是一个反模式。
The antipattern is when the developer stops at happy path tests.
反模式是指在进行愉快路径测试时开发程序的停止行为。
In a functional test, the happy path is the same — or close to — the use case.
在功能测试中,愉快路径与实际用例相同或相近。
Don't just test the happy path; test boundary conditions and out-of-domain values.
不要仅测试愉快路径,还要测试边界条件和范围之外的值。
Happy path tests don't test the parts of the system most likely to fail (the sad paths).
愉快路径不测试系统的错误部分(不愉快路径)。
This helped streamline the "happy path" that you wanted users to follow from search to purchase.
这有助于改进从搜索到购买的用户操作流程。
Start with the happy path, the basic course of action — but don't forget the alternate courses as well.
如果一切顺利,使用的将是基本行动过程——但也不要忘记备选过程。
I wish I had a picture to show you how convoluted it was, especially if you deviated from the 'happy path'.
我希望我有张图片来告诉你过去它是多么令人费解,尤其是当你偏离了“幸福路径”的时候。
If mottos are more your style, feel free to mentally repeat yours as often as needed to keep you on your happy path.
如果格言更符合你的风格,请自由地因需要而在心里重复你的格言,使自己始终走在快乐的路径上。
The first problem is that the “happy path” does not cross boundaries very well: the key barrier is the barrier of intention.
第一个困难是“幸福之路”并不能很好地跨越边界:主要的障碍来自于利益不同。
If you are committed to a spiritual path in your life, you are twice as likely to say you are "very happy," according to psychology research.
根据心理学研究,如果你在生命中,踏上一条灵性之路,你说“非常幸福”的可能性是(常人)的两倍。
But I like to think that whether I had chosen acting, music, or dance, I would have somehow or other always chosen a path that in the end would make me feel happy and fulfilled.
不过我觉得,无论当初我是选择了成为一名演员、还是歌手抑或是舞者,我最终都会选择一条给我带来快乐和满足感的道路。
Most women are bored with, and cynical about, the well-trodden path of romantic fiction. They do not like happy endings and would rather read a thriller or crime novel.
大多数的女性读者早已厌倦了写法老套的言情小说,她们不再喜欢言情小说的圆满结局,而更情愿看一本恐怖或者犯罪小说。
In many processing scenarios, this information is just as important as the data returned during a "happy-path" invocation.
在很多处理方案中,此信息与成功调用期间返回的数据一样重要。
As long as you lead a happy and comfortable life, why bother to chase after other people's shadows? Choose your own life path and go for it.
只要你过着快乐而舒适的生活,为什么要徒添烦恼去追逐别人的影子呢?选择你自己的道路并坚持走下去吧!
So, the spirit of loving-kindness, compassion, wisdom, and insight is about paving a path, building Bridges, and erecting homes and through this, our hearts are very happy and at peace.
所以,这个大慈、大悲、大智、大慧,就是铺路造桥、盖房屋,让我们的心就是,很安稳,很快乐,这都是我们人生。
Leading the procession: a small girl strewing blossoms along the road, so the bride's path through life will always be happy and laden with flowers.
队伍最前面的小女孩沿路撒花,预示新娘的人生也会一路幸福、鲜花遍地。
When they see that we are happy with our lives and the path we are taking to reach our goals, they can rest assured that all we need them to do is to share in our joy.
当他们看到我们对自己的生活很是满意的,并且我们走上了我们自己选择的目标的旅程,他们可以放心,所需要他们去做的事就是分享我们的喜悦。
Project yourself into the future, to a moment where you are happy and calm, and then work backward, figuring out what happens along the path to serenity.
畅想一下未来,你是多么得开心和平静。然后再开始工作,看看在通往平静的路上到底会发生什么。
Making sure you are both on the same page puts you well on the path to a happy life together.
有着共同的想法,会指引你们幸福地生活在一起。
When she had seen the two of them get married. And when she had seen them walk away together upon their path of flowers followed by the happy shouts of the crowd in which her one sad cry was lost!
当她看见他俩成婚,一起踏着花径离开,欢呼的人群尾随其后,她独自的悲泣被淹没其中,想到这些,她的心就痛苦至极。
When she had seen the two of them get married. And when she had seen them walk away together upon their path of flowers followed by the happy shouts of the crowd in which her one sad cry was lost!
当她看见他俩成婚,一起踏着花径离开,欢呼的人群尾随其后,她独自的悲泣被淹没其中,想到这些,她的心就痛苦至极。
应用推荐