Actually, happy path tests aren't an antipattern.
实际上,愉快路径测试并不是一个反模式。
But how do you test the happy path case for push?
但是,如何测试push的愉快路径呢?
You may even mentally test it with some happy path data.
甚至在头脑中用一些愉快路径数据对它进行测试。
This is often referred to as the "basic path" or "happy path."
这通常被看作是“基本路径”或者“快乐路径”。
The antipattern is when the developer stops at happy path tests.
反模式是指在进行愉快路径测试时开发程序的停止行为。
Usually, when you write code, you write it with the happy path in mind.
编写代码时,通常考虑使用愉快路径进行编写。
Happy path tests validate the expected behavior of the system under test.
愉快路径测试可以验证被测系统的行为是否为所期望的行为。
In Figure 2, the basic flow, or happy path, goes straight through the diagram.
在图2中,这个基本流程,或者快乐路径,径直穿过这个图。
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).
愉快路径不测试系统的错误部分(不愉快路径)。
In the "happy path" scenario we are discussing, the RentalLocation replies "yes" (OK).
在我们讨论过的“happy path ”场景中,RentalLocation回答“是”(OK)。
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.
不过我觉得,无论当初我是选择了成为一名演员、还是歌手抑或是舞者,我最终都会选择一条给我带来快乐和满足感的道路。
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!
当她看见他俩成婚,一起踏着花径离开,欢呼的人群尾随其后,她独自的悲泣被淹没其中,想到这些,她的心就痛苦至极。
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.
大多数的女性读者早已厌倦了写法老套的言情小说,她们不再喜欢言情小说的圆满结局,而更情愿看一本恐怖或者犯罪小说。
How much MORE time should you set aside to figure out the path that will make you happy?
需要多少时间留下来考虑将会使你感到愉快的方法?
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.
所以,这个大慈、大悲、大智、大慧,就是铺路造桥、盖房屋,让我们的心就是,很安稳,很快乐,这都是我们人生。
Soon the path was clear. Dan was happy.
很快,路径是干净的。丹很开心。
Happy Chinese New Year to all, and may all your hindrances on the path to enlightenment be swiftly removed!
祝大家农历新年快乐,并祈大家在成佛的道路上障碍迅速袪除。
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.
队伍最前面的小女孩沿路撒花,预示新娘的人生也会一路幸福、鲜花遍地。
And cultural health of the body of thought, for my growth path paved a sunny boulevard, happy life for my future lay a good foundation.
身体的思想的和文化的健康,为我的成长道路铺就了一条阳光灿烂的大道,为我今后幸福的人生打下了良好的基础。
And cultural health of the body of thought, for my growth path paved a sunny boulevard, happy life for my future lay a good foundation.
身体的思想的和文化的健康,为我的成长道路铺就了一条阳光灿烂的大道,为我今后幸福的人生打下了良好的基础。
应用推荐