Unit Test Cases With Behavioural Insights

This is part 2 (and a more detailed explanation) of the series on Test-Driven Design approach. Read Part 1 here.

Why Unit Test Case?

If development, despite containing thousands of lines of code, can function well, there's surely something right about that approach that we can look into. Also, how can we remove the subjectivity associated with UX and UI design? Metrics are effective once the product is shipped; a scientific approach, to how design is optimised, can greatly enhance the ability to solve some of the core product issues. After all, theories and concepts are formulated by testing hypotheses. 

What if we define the assumptions of a user and their behaviour at the very start of the design process? Test the assumptions first, before taking the product to the actual users. Test, modify and refine the assumptions. This will help us gain a deeper understanding of the targeted user(s). 

The design process or the art of crafting, now, becomes less about the designer's preference and more about the user. How it is supposed to be, in an ideal world. What this could lead to is an obsession to find out what the user really wants, taking into account the beautiful ways our mind behaves irrationally on various occasions. 

Breaking down the user interaction journey into multiple test-cases helps us solve targeted areas of behaviour through optimisation. Think milestones. Each test case has to pass at the behavioural level, for a successful completion of the user flow. Or what if we set the milestones based on behavioural cues instead of technical steps, unlike how it is done currently? It makes complete sense for developers to label it that way because they are engineering it. But designers' goals are different. Let's take an example of a small scale e-commerce or D2C app: sign in > product listing > favourite, etc are reframed to user encountering the brand for the first time, getting to know more about it and then gaining more controls over the product feature, evaluation, shortlist, and so on. Reframing makes the actions that need to go into getting the desired outcome different too.

Would a scientific method reduce the creative 'gut' abilities of a designer?

No. The goal would be to make it pass the unit-test case, putting the designer(s) in a better position to use their creative abilities for a well defined goal. Constraints bring out the best ideas, showcasing the value of creative thinking to a greater extent for the product team.

Copyright © 2023 Shyamal Bhat