Questions tagged [use-case]

Use-cases capture and specify requirements of a system and stakeholder expectations with a view to the objectives of its users. Do not use this tag for for questions about suitability of the use of techniques/features to solve implementation issues.

Purpose

Use-cases capture and specify requirements of a system and stakeholder expectations with a view to the objectives of its users and the added value.

Tag usage

Use this tag for questions relating to the problems that a system is supposed to solve, and to use-case analysis and design:

  • Identifying and scoping use-cases in narratives and requirements
  • Analyzing the actors and their interactions with a system
  • Abstracting use-cases from specific scenario and user-interfaces
  • Documenting use-cases in textual or tabular form
  • Modeling use-cases in UML. In this case add .

You may also use this tag for questions related to the implementation of use-cases (e.g. with )

Do not use this tag for for questions about:

  • suitability of programming techniques or features to solve implementation issues. The remaining tags should be sufficient for people to find your question.
  • exclusively UML use-case diagramming syntax. Prefer the tag combination in this case.

Additional information:

826 questions
6
votes
3 answers

Chaining multiple use cases

I use Clean Architecture pattern in my app together with MVVM architecture. So I have UseCases for single operations, like for example, LoginUseCase, DownloadAttachmentUseCase etc. What I am curious about is, what if I want to chain multiple…
Ana Koridze
  • 1,532
  • 2
  • 18
  • 28
6
votes
3 answers

Single Responsibility Principle in Clean Architecture, Aggregating UseCases in one UseCaseManager which can provide UseCase based on In & Out Object

I want to implement Single Responsibility principle in my projects Domain layer (Clean MVVM). I've approximately 200 different use-cases which are being very hectic to manage. Now I'm thinking to create one UseCaseManager which can provide me…
6
votes
3 answers

What are some real use cases for going with a NoSQL Document Store db?

I have been reading documentation and watching screencasts specific to Mongo DB over the past few days and I am at a loss for when a solution like this would be better than a typical pg or mysql environment. Specifically, my question is under what…
Mario Zigliotto
  • 8,315
  • 7
  • 52
  • 71
6
votes
4 answers

Examples of good, real-life use-cases for covariance and contravariance in C# 4.0?

Before C# 4.0 came out, I was quite excited about covariance and contravariance. It pandered to my fondness for theoretical correctness! However, now that it’s out, and I’m back to writing normal, everyday, boring code, I’m starting to wonder: did I…
Timwi
  • 65,159
  • 33
  • 165
  • 230
6
votes
3 answers

Entity Control Boundary (ECB) vs Model View Controller (MVC)

I'm not sure if i got the right concept. I was told by people that Boundary = View Entity = Model Control = Controller however based on my knowledge of MVC. (fat model, thin controller) Isn't the Boundary = Controller, Control = Model (the busienss…
ericlee
  • 2,703
  • 11
  • 43
  • 68
6
votes
9 answers

RSS/Atom for professional use

I wondered if anyone can give an example of a professional use of RSS/Atom feeds in a company product. Does anyone use feeds for other things than updating news? For example, did you create a product that gives results as RSS/Atom feeds? Like price…
cringe
  • 13,401
  • 15
  • 69
  • 102
6
votes
2 answers

Is it possible to embed Cockburn style textual UML Use Case content in the code base to improve code readability?

experimenting with Cockburn use cases in code I was writing some complicated UI code. I decided to employ Cockburn use cases with fish,kite,and sea levels (discussed by Martin Fowler in his book 'UML Distilled'). I wrapped Cockburn use cases in…
fooledbyprimes
  • 999
  • 1
  • 11
  • 29
5
votes
1 answer

Where could I find UML diagrams of an open source project?

I'm going to start a project for my software engineering course, and I have to do a relatively hard one, something like a browser. Of course I'm not going to build a complete browser from scratch in 4 monthes, but in the first phases I have to give…
Kamran
  • 451
  • 1
  • 5
  • 13
5
votes
2 answers

Textual UseCase Representaion and graph generation

I am searching for a textual representation on UseCases which allows me to generate the graphs afterwards. Is there a tool, preferred open-source or freeware, or an eclipse plugin out there, which allows doing that? I found a blog post on an xText…
joecks
  • 4,539
  • 37
  • 48
5
votes
2 answers

Clean architecture boundaries

I'm relatively new to clean architecture and I have some questions about using CA for backend spring project. Does the application must(is it a good practice to CA) be modularized or can it be one module split in folders? About the Business…
5
votes
3 answers

(Golang) Clean Architecture - Who should do the orchestration?

I am trying to understand which of the following two options is the right approach and why. Say we have GetHotelInfo(hotel_id) API that is being invoked from the Web till the Controller. The logic of the GetHotelInfo is: Invoke…
5
votes
2 answers

How to write a use case that retrieves data from Android framework with Context

I am migrating an application to MVVM and clean architecture, and I am missing one part of the puzzle. The problem domain: List all applications on device and display them in the Fragment / Activity A device app is represented by its package…
BennyP
  • 1,737
  • 1
  • 18
  • 24
5
votes
2 answers

In clean MVP, who should handle combining interactors?

I've seen good examples of MVP architecture (here and here). Both present only simple interactors, but I wonder how to deal with more complex use case, consisting of steps, which are repeated in other use cases. For example, my API requires token to…
canihazurcode
  • 252
  • 2
  • 9
5
votes
1 answer

Should I cover the code by unit tests even it already has been covered by integration tests?

let's say we have some web service with REST API and for illustration there is some work with database. In my opinion, the most fundamental way to test this application are integration tests which are testing it from top of the REST API to verify…
Jurass
  • 435
  • 1
  • 5
  • 17
5
votes
3 answers

use case diagram - conditions or decision node

guys how can I make conditions in use case diagram ? Something like decision node in activity diagram. For example, If there is "evaluate" usecase which can lead either to Y or N, there is simply no way to express it. There is only constrain…
lisak
  • 21,611
  • 40
  • 152
  • 243